#330837#330837

#330837 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.8% C 0.094 H 324.2°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#330837
RGBrgb(51, 8, 55)
HSLhsl(295, 75%, 12%)
HSVhsv(295, 85%, 22%)
CMYKcmyk(7.3%, 85.5%, 0%, 78.4%)
CIE-LABlab(10.21, 28.25, -19.73)
CIE-LCHlch(10.21, 34.46, 325.07°)
OKLaboklab(23.83% 0.0764 -0.055)
OKLCHoklch(23.83% 0.094 324.2)
XYZxyz(2.1416, 1.1534, 3.7235)
Luminance0.0115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330837 #0C3708
analogous
#1C0837 #330837 #370823
triadic
#330837 #373308 #083733
tetradic
#330837 #371C08 #0C3708 #082337
square
#330837 #371C08 #0C3708 #082337
split-complementary
#330837 #233708 #08371C
monochromatic
#19041B #19041B #330837 #65106C #9618A2

Accessibility & contrast

On white

17.06
#330837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#330837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330837
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330837#FFFFFF#000000##FFFFFF
##3308371.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001938
Deuteranopia (green-blind)
#111E36
Tritanopia (blue-blind)
#34101F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #330837;
/* rgb */ color: rgb(51, 8, 55);
/* oklch */ color: oklch(23.8% 0.094 324.2);
Tailwind
colors: {
  custom: {
    50: '#6d4d6e',
    500: '#330837',
    950: '#000000',
  },
}
SCSS
$custom: #330837;
$custom-light: #6d4d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#330837",
  "rgb": {
    "r": 51,
    "g": 8,
    "b": 55
  },
  "hsl": {
    "h": 294.894,
    "s": 74.603,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23829,
    "c": 0.09411,
    "h": 324.2
  },
  "luminance": 0.01153
}

Semantic roles & 50–950 ramp

primary
#330837
secondary
#2C7625
accent
#F13746
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #330837

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#330837 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva