#330839#330839

#330839 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.0% C 0.096 H 322.5°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#330839
RGBrgb(51, 8, 57)
HSLhsl(293, 75%, 13%)
HSVhsv(293, 86%, 22%)
CMYKcmyk(10.5%, 86%, 0%, 77.6%)
CIE-LABlab(10.36, 28.68, -20.94)
CIE-LCHlch(10.36, 35.51, 323.87°)
OKLaboklab(23.98% 0.0762 -0.0585)
OKLCHoklch(23.98% 0.096 322.5)
XYZxyz(2.1905, 1.1730, 3.9811)
Luminance0.0117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330839 #0E3908
analogous
#1A0839 #330839 #390826
triadic
#330839 #393308 #083933
tetradic
#330839 #391A08 #0E3908 #082639
square
#330839 #391A08 #0E3908 #082639
split-complementary
#330839 #263908 #08391A
monochromatic
#18041B #18041B #330839 #63106F #9317A4

Accessibility & contrast

On white

17.01
#330839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330839
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330839#FFFFFF#000000##FFFFFF
##3308391.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193A
Deuteranopia (green-blind)
#0F1E38
Tritanopia (blue-blind)
#341120
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #330839;
/* rgb */ color: rgb(51, 8, 57);
/* oklch */ color: oklch(24.0% 0.096 322.5);
Tailwind
colors: {
  custom: {
    50: '#6d4d70',
    500: '#330839',
    950: '#000000',
  },
}
SCSS
$custom: #330839;
$custom-light: #6d4d70;
$custom-dark: #000000;
JSON
{
  "hex": "#330839",
  "rgb": {
    "r": 51,
    "g": 8,
    "b": 57
  },
  "hsl": {
    "h": 292.653,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23982,
    "c": 0.0961,
    "h": 322.5
  },
  "luminance": 0.01173
}

Semantic roles & 50–950 ramp

primary
#330839
secondary
#2F7825
accent
#F2364D
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #330839

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

Preview Lab → · Contrast checker → · Palette generator →

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