#330F3E#330F3E

#330F3E is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.2% C 0.091 H 317.3°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#330F3E
RGBrgb(51, 15, 62)
HSLhsl(286, 61%, 15%)
HSVhsv(286, 76%, 24%)
CMYKcmyk(17.7%, 75.8%, 0%, 75.7%)
CIE-LABlab(11.91, 26.48, -22.02)
CIE-LCHlch(11.91, 34.44, 320.25°)
OKLaboklab(25.21% 0.067 -0.0618)
OKLCHoklch(25.21% 0.091 317.3)
XYZxyz(2.4054, 1.3934, 4.6987)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330F3E #1A3E0F
analogous
#1B0F3E #330F3E #3E0F32
triadic
#330F3E #3E330F #0F3E33
tetradic
#330F3E #3E1B0F #1A3E0F #0F323E
square
#330F3E #3E1B0F #1A3E0F #0F323E
split-complementary
#330F3E #323E0F #0F3E1B
monochromatic
#140619 #140619 #330F3E #5C1B6F #8427A1

Accessibility & contrast

On white

16.42
#330F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#330F3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330F3E
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330F3E#FFFFFF#000000##FFFFFF
##330F3E1.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011D3F
Deuteranopia (green-blind)
#10203D
Tritanopia (blue-blind)
#331825
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #330f3e;
/* rgb */ color: rgb(51, 15, 62);
/* oklch */ color: oklch(25.2% 0.091 317.3);
Tailwind
colors: {
  custom: {
    50: '#6d5073',
    500: '#330f3e',
    950: '#000000',
  },
}
SCSS
$custom: #330f3e;
$custom-light: #6d5073;
$custom-dark: #000000;
JSON
{
  "hex": "#330f3e",
  "rgb": {
    "r": 51,
    "g": 15,
    "b": 62
  },
  "hsl": {
    "h": 285.957,
    "s": 61.039,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25214,
    "c": 0.09112,
    "h": 317.3
  },
  "luminance": 0.01393
}

Semantic roles & 50–950 ramp

primary
#330F3E
secondary
#417830
accent
#E44469
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #330F3E

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

Preview Lab → · Contrast checker → · Palette generator →

#330F3E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva