#330F6A#330F6A

#330F6A is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.142 H 293.3°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#330F6A
RGBrgb(51, 15, 106)
HSLhsl(264, 75%, 24%)
HSVhsv(264, 86%, 42%)
CMYKcmyk(51.9%, 85.8%, 0%, 58.4%)
CIE-LABlab(15.93, 38.24, -45.45)
CIE-LCHlch(15.93, 59.40, 310.08°)
OKLaboklab(29.29% 0.0561 -0.1305)
OKLCHoklch(29.29% 0.142 293.3)
XYZxyz(4.1369, 2.0859, 13.8175)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330F6A #466A0F
analogous
#0F186A #330F6A #600F6A
triadic
#330F6A #6A330F #0F6A33
tetradic
#330F6A #6A0F18 #466A0F #0F6A60
square
#330F6A #6A0F18 #466A0F #0F6A60
split-complementary
#330F6A #6A600F #186A0F
monochromatic
#0D041B #190734 #330F6A #4D17A0 #671ED5

Accessibility & contrast

On white

14.82
#330F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#330F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330F6A
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330F6A#FFFFFF#000000##FFFFFF
##330F6A1.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002668
Tritanopia (blue-blind)
#212A3D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #330f6a;
/* rgb */ color: rgb(51, 15, 106);
/* oklch */ color: oklch(29.3% 0.142 293.3);
Tailwind
colors: {
  custom: {
    50: '#725396',
    500: '#330f6a',
    950: '#000000',
  },
}
SCSS
$custom: #330f6a;
$custom-light: #725396;
$custom-dark: #000000;
JSON
{
  "hex": "#330f6a",
  "rgb": {
    "r": 51,
    "g": 15,
    "b": 106
  },
  "hsl": {
    "h": 263.736,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29287,
    "c": 0.14205,
    "h": 293.3
  },
  "luminance": 0.02086
}

Semantic roles & 50–950 ramp

primary
#330F6A
secondary
#76A232
accent
#F236A8
background
#F7F4F9
surface
#EDE8F2
border
#C8C4CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #330F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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