#330A3F#330A3F

#330A3F is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.7% C 0.100 H 317.3°. Best body text is #FFFFFF at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#330A3F
RGBrgb(51, 10, 63)
HSLhsl(286, 73%, 14%)
HSVhsv(286, 84%, 25%)
CMYKcmyk(19%, 84.1%, 0%, 75.3%)
CIE-LABlab(11.13, 29.14, -23.99)
CIE-LCHlch(11.13, 37.74, 320.54°)
OKLaboklab(24.68% 0.0732 -0.0675)
OKLCHoklch(24.68% 0.1 317.3)
XYZxyz(2.3709, 1.2799, 4.8238)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330A3F #163F0A
analogous
#190A3F #330A3F #3F0A31
triadic
#330A3F #3F330A #0A3F33
tetradic
#330A3F #3F190A #163F0A #0A313F
square
#330A3F #3F190A #163F0A #0A313F
split-complementary
#330A3F #313F0A #0A3F19
monochromatic
#15041A #15041A #330A3F #5E1274 #891BA9

Accessibility & contrast

On white

16.72
#330A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#330A3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330A3F
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330A3F#FFFFFF#000000##FFFFFF
##330A3F1.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B40
Deuteranopia (green-blind)
#0B1F3E
Tritanopia (blue-blind)
#321524
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #330a3f;
/* rgb */ color: rgb(51, 10, 63);
/* oklch */ color: oklch(24.7% 0.100 317.3);
Tailwind
colors: {
  custom: {
    50: '#6d4e74',
    500: '#330a3f',
    950: '#000000',
  },
}
SCSS
$custom: #330a3f;
$custom-light: #6d4e74;
$custom-dark: #000000;
JSON
{
  "hex": "#330a3f",
  "rgb": {
    "r": 51,
    "g": 10,
    "b": 63
  },
  "hsl": {
    "h": 286.415,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24681,
    "c": 0.09952,
    "h": 317.3
  },
  "luminance": 0.0128
}

Semantic roles & 50–950 ramp

primary
#330A3F
secondary
#3B7C29
accent
#EF3862
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #330A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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