#330639#330639

#330639 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.7% C 0.099 H 322.7°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#330639
RGBrgb(51, 6, 57)
HSLhsl(293, 81%, 12%)
HSVhsv(293, 89%, 22%)
CMYKcmyk(10.5%, 89.5%, 0%, 77.6%)
CIE-LABlab(10.03, 29.63, -21.47)
CIE-LCHlch(10.03, 36.59, 324.08°)
OKLaboklab(23.75% 0.0788 -0.06)
OKLCHoklch(23.75% 0.099 322.7)
XYZxyz(2.1688, 1.1296, 3.9739)
Luminance0.0113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330639 #0C3906
analogous
#190639 #330639 #390626
triadic
#330639 #393306 #063933
tetradic
#330639 #391906 #0C3906 #062639
square
#330639 #391906 #0C3906 #062639
split-complementary
#330639 #263906 #063919
monochromatic
#19031C #19031C #330639 #650C70 #9612A8

Accessibility & contrast

On white

17.13
#330639 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330639
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330639#FFFFFF#000000##FFFFFF
##3306391.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183A
Deuteranopia (green-blind)
#0E1D38
Tritanopia (blue-blind)
#34101F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #330639;
/* rgb */ color: rgb(51, 6, 57);
/* oklch */ color: oklch(23.7% 0.099 322.7);
Tailwind
colors: {
  custom: {
    50: '#6d4c70',
    500: '#330639',
    950: '#000000',
  },
}
SCSS
$custom: #330639;
$custom-light: #6d4c70;
$custom-dark: #000000;
JSON
{
  "hex": "#330639",
  "rgb": {
    "r": 51,
    "g": 6,
    "b": 57
  },
  "hsl": {
    "h": 292.941,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23748,
    "c": 0.09906,
    "h": 322.7
  },
  "luminance": 0.01129
}

Semantic roles & 50–950 ramp

primary
#330639
secondary
#2C7922
accent
#F73048
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #330639

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

Preview Lab → · Contrast checker → · Palette generator →

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