#330F38#330F38

#330F38 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.8% C 0.084 H 322.6°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#330F38
RGBrgb(51, 15, 56)
HSLhsl(293, 58%, 14%)
HSVhsv(293, 73%, 22%)
CMYKcmyk(8.9%, 73.2%, 0%, 78%)
CIE-LABlab(11.49, 25.06, -18.41)
CIE-LCHlch(11.49, 31.10, 323.70°)
OKLaboklab(24.77% 0.067 -0.0512)
OKLCHoklch(24.77% 0.084 322.6)
XYZxyz(2.2498, 1.3311, 3.8790)
Luminance0.0133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330F38 #14380F
analogous
#1F0F38 #330F38 #380F29
triadic
#330F38 #38330F #0F3833
tetradic
#330F38 #381F0F #14380F #0F2938
square
#330F38 #381F0F #14380F #0F2938
split-complementary
#330F38 #29380F #0F381F
monochromatic
#160618 #160618 #330F38 #5F1C68 #8B2999

Accessibility & contrast

On white

16.59
#330F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330F38
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330F38#FFFFFF#000000##FFFFFF
##330F381.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061C39
Deuteranopia (green-blind)
#152037
Tritanopia (blue-blind)
#341521
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #330f38;
/* rgb */ color: rgb(51, 15, 56);
/* oklch */ color: oklch(24.8% 0.084 322.6);
Tailwind
colors: {
  custom: {
    50: '#6c506f',
    500: '#330f38',
    950: '#000000',
  },
}
SCSS
$custom: #330f38;
$custom-light: #6c506f;
$custom-dark: #000000;
JSON
{
  "hex": "#330f38",
  "rgb": {
    "r": 51,
    "g": 15,
    "b": 56
  },
  "hsl": {
    "h": 292.683,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24773,
    "c": 0.08435,
    "h": 322.6
  },
  "luminance": 0.01331
}

Semantic roles & 50–950 ramp

primary
#330F38
secondary
#397230
accent
#E1475A
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #330F38

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

Preview Lab → · Contrast checker → · Palette generator →

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