#330F3A#330F3A

#330F3A is a very dark, moderate purple. Relative luminance 0.014; OKLCH L 24.9% C 0.087 H 320.8°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#330F3A
RGBrgb(51, 15, 58)
HSLhsl(290, 59%, 14%)
HSVhsv(290, 74%, 23%)
CMYKcmyk(12.1%, 74.1%, 0%, 77.3%)
CIE-LABlab(11.63, 25.53, -19.63)
CIE-LCHlch(11.63, 32.20, 322.44°)
OKLaboklab(24.92% 0.0671 -0.0548)
OKLCHoklch(24.92% 0.087 320.8)
XYZxyz(2.2997, 1.3511, 4.1418)
Luminance0.0135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330F3A #163A0F
analogous
#1E0F3A #330F3A #3A0F2C
triadic
#330F3A #3A330F #0F3A33
tetradic
#330F3A #3A1E0F #163A0F #0F2C3A
square
#330F3A #3A1E0F #163A0F #0F2C3A
split-complementary
#330F3A #2C3A0F #0F3A1E
monochromatic
#150618 #150618 #330F3A #5E1C6B #89289B

Accessibility & contrast

On white

16.53
#330F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330F3A
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330F3A#FFFFFF#000000##FFFFFF
##330F3A1.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051C3B
Deuteranopia (green-blind)
#132039
Tritanopia (blue-blind)
#331622
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #330f3a;
/* rgb */ color: rgb(51, 15, 58);
/* oklch */ color: oklch(24.9% 0.087 320.8);
Tailwind
colors: {
  custom: {
    50: '#6c5070',
    500: '#330f3a',
    950: '#000000',
  },
}
SCSS
$custom: #330f3a;
$custom-light: #6c5070;
$custom-dark: #000000;
JSON
{
  "hex": "#330f3a",
  "rgb": {
    "r": 51,
    "g": 15,
    "b": 58
  },
  "hsl": {
    "h": 290.233,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24916,
    "c": 0.08659,
    "h": 320.8
  },
  "luminance": 0.01351
}

Semantic roles & 50–950 ramp

primary
#330F3A
secondary
#3B7430
accent
#E2465F
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #330F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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