#330F60#330F60

#330F60 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.131 H 297.2°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#330F60
RGBrgb(51, 15, 96)
HSLhsl(267, 73%, 22%)
HSVhsv(267, 84%, 38%)
CMYKcmyk(46.9%, 84.4%, 0%, 62.4%)
CIE-LABlab(14.90, 35.46, -40.54)
CIE-LCHlch(14.90, 53.86, 311.17°)
OKLaboklab(28.26% 0.0597 -0.1161)
OKLCHoklch(28.26% 0.131 297.2)
XYZxyz(3.6468, 1.8899, 11.2367)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330F60 #3C600F
analogous
#0F1360 #330F60 #5C0F60
triadic
#330F60 #60330F #0F6033
tetradic
#330F60 #600F13 #3C600F #0F605C
square
#330F60 #600F13 #3C600F #0F605C
split-complementary
#330F60 #605C0F #13600F
monochromatic
#0E041A #17072B #330F60 #4F1795 #6B20CA

Accessibility & contrast

On white

15.24
#330F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#330F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330F60
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330F60#FFFFFF#000000##FFFFFF
##330F601.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002662
Deuteranopia (green-blind)
#00245E
Tritanopia (blue-blind)
#272638
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #330f60;
/* rgb */ color: rgb(51, 15, 96);
/* oklch */ color: oklch(28.3% 0.131 297.2);
Tailwind
colors: {
  custom: {
    50: '#70528e',
    500: '#330f60',
    950: '#000000',
  },
}
SCSS
$custom: #330f60;
$custom-light: #70528e;
$custom-dark: #000000;
JSON
{
  "hex": "#330f60",
  "rgb": {
    "r": 51,
    "g": 15,
    "b": 96
  },
  "hsl": {
    "h": 266.667,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28257,
    "c": 0.13056,
    "h": 297.2
  },
  "luminance": 0.0189
}

Semantic roles & 50–950 ramp

primary
#330F60
secondary
#6B9932
accent
#F0389E
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08020C
muted
#7B787D

Preview Lab

Preview with #330F60

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

Preview Lab → · Contrast checker → · Palette generator →

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