#330339#330339

#330339 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.104 H 323.0°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#330339
RGBrgb(51, 3, 57)
HSLhsl(293, 90%, 12%)
HSVhsv(293, 95%, 22%)
CMYKcmyk(10.5%, 94.7%, 0%, 77.6%)
CIE-LABlab(9.52, 31.12, -22.28)
CIE-LCHlch(9.52, 38.27, 324.39°)
OKLaboklab(23.39% 0.0828 -0.0624)
OKLCHoklch(23.39% 0.104 323)
XYZxyz(2.1363, 1.0645, 3.9630)
Luminance0.0106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330339 #093903
analogous
#180339 #330339 #390324
triadic
#330339 #393303 #033933
tetradic
#330339 #391803 #093903 #032439
square
#330339 #391803 #093903 #032439
split-complementary
#330339 #243903 #033918
monochromatic
#1A021D #1A021D #330339 #670673 #9B09AD

Accessibility & contrast

On white

17.32
#330339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#330339 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330339
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330339#FFFFFF#000000##FFFFFF
##3303391.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173A
Deuteranopia (green-blind)
#0C1C38
Tritanopia (blue-blind)
#340E1E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #330339;
/* rgb */ color: rgb(51, 3, 57);
/* oklch */ color: oklch(23.4% 0.104 323.0);
Tailwind
colors: {
  custom: {
    50: '#6d4a70',
    500: '#330339',
    950: '#000000',
  },
}
SCSS
$custom: #330339;
$custom-light: #6d4a70;
$custom-dark: #000000;
JSON
{
  "hex": "#330339",
  "rgb": {
    "r": 51,
    "g": 3,
    "b": 57
  },
  "hsl": {
    "h": 293.333,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.23388,
    "c": 0.10369,
    "h": 323
  },
  "luminance": 0.01064
}

Semantic roles & 50–950 ramp

primary
#330339
secondary
#277C1C
accent
#FF2941
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #330339

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

Preview Lab → · Contrast checker → · Palette generator →

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