#330E3F#330E3F

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

Color values

HEX#330E3F
RGBrgb(51, 14, 63)
HSLhsl(285, 64%, 15%)
HSVhsv(285, 78%, 25%)
CMYKcmyk(19%, 77.8%, 0%, 75.3%)
CIE-LABlab(11.80, 27.24, -22.91)
CIE-LCHlch(11.80, 35.59, 319.93°)
OKLaboklab(25.16% 0.0683 -0.0643)
OKLCHoklch(25.16% 0.094 316.7)
XYZxyz(2.4193, 1.3769, 4.8400)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330E3F #1A3F0E
analogous
#1A0E3F #330E3F #3F0E32
triadic
#330E3F #3F330E #0E3F33
tetradic
#330E3F #3F1A0E #1A3F0E #0E323F
square
#330E3F #3F1A0E #1A3F0E #0E323F
split-complementary
#330E3F #323F0E #0E3F1A
monochromatic
#140619 #140619 #330E3F #5C1971 #8424A3

Accessibility & contrast

On white

16.47
#330E3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330E3F
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330E3F#FFFFFF#000000##FFFFFF
##330E3F1.0016.471.2816.47
#FFFFFF16.471.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D40
Deuteranopia (green-blind)
#0F203E
Tritanopia (blue-blind)
#321725
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #330e3f;
/* rgb */ color: rgb(51, 14, 63);
/* oklch */ color: oklch(25.2% 0.094 316.7);
Tailwind
colors: {
  custom: {
    50: '#6d5074',
    500: '#330e3f',
    950: '#000000',
  },
}
SCSS
$custom: #330e3f;
$custom-light: #6d5074;
$custom-dark: #000000;
JSON
{
  "hex": "#330e3f",
  "rgb": {
    "r": 51,
    "g": 14,
    "b": 63
  },
  "hsl": {
    "h": 285.306,
    "s": 63.636,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25158,
    "c": 0.09382,
    "h": 316.7
  },
  "luminance": 0.01377
}

Semantic roles & 50–950 ramp

primary
#330E3F
secondary
#417A2F
accent
#E7416A
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #330E3F

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

Preview Lab → · Contrast checker → · Palette generator →

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