#330F3B#330F3B

#330F3B is a very dark, moderate purple. Relative luminance 0.014; OKLCH L 25.0% C 0.088 H 319.9°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#330F3B
RGBrgb(51, 15, 59)
HSLhsl(289, 59%, 15%)
HSVhsv(289, 75%, 23%)
CMYKcmyk(13.6%, 74.6%, 0%, 76.9%)
CIE-LABlab(11.70, 25.77, -20.23)
CIE-LCHlch(11.70, 32.76, 321.86°)
OKLaboklab(24.99% 0.0671 -0.0565)
OKLCHoklch(24.99% 0.088 319.9)
XYZxyz(2.3254, 1.3613, 4.2771)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330F3B #173B0F
analogous
#1D0F3B #330F3B #3B0F2D
triadic
#330F3B #3B330F #0F3B33
tetradic
#330F3B #3B1D0F #173B0F #0F2D3B
square
#330F3B #3B1D0F #173B0F #0F2D3B
split-complementary
#330F3B #2D3B0F #0F3B1D
monochromatic
#150618 #150618 #330F3B #5D1B6C #87289D

Accessibility & contrast

On white

16.51
#330F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#330F3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330F3B
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330F3B#FFFFFF#000000##FFFFFF
##330F3B1.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041C3C
Deuteranopia (green-blind)
#13203A
Tritanopia (blue-blind)
#331723
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #330f3b;
/* rgb */ color: rgb(51, 15, 59);
/* oklch */ color: oklch(25.0% 0.088 319.9);
Tailwind
colors: {
  custom: {
    50: '#6c5071',
    500: '#330f3b',
    950: '#000000',
  },
}
SCSS
$custom: #330f3b;
$custom-light: #6c5071;
$custom-dark: #000000;
JSON
{
  "hex": "#330f3b",
  "rgb": {
    "r": 51,
    "g": 15,
    "b": 59
  },
  "hsl": {
    "h": 289.091,
    "s": 59.459,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24989,
    "c": 0.08772,
    "h": 319.9
  },
  "luminance": 0.01361
}

Semantic roles & 50–950 ramp

primary
#330F3B
secondary
#3D7530
accent
#E34562
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #330F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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