#330E4B#330E4B

#330E4B is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.2% C 0.108 H 308.3°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#330E4B
RGBrgb(51, 14, 75)
HSLhsl(276, 69%, 17%)
HSVhsv(276, 81%, 29%)
CMYKcmyk(32%, 81.3%, 0%, 70.6%)
CIE-LABlab(12.77, 30.26, -29.75)
CIE-LCHlch(12.77, 42.44, 315.48°)
OKLaboklab(26.16% 0.0666 -0.0844)
OKLCHoklch(26.16% 0.108 308.3)
XYZxyz(2.7920, 1.5259, 6.8027)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330E4B #264B0E
analogous
#140E4B #330E4B #4B0E45
triadic
#330E4B #4B330E #0E4B33
tetradic
#330E4B #4B140E #264B0E #0E454B
square
#330E4B #4B140E #264B0E #0E454B
split-complementary
#330E4B #454B0E #0E4B14
monochromatic
#12051A #12051A #330E4B #56187F #7921B2

Accessibility & contrast

On white

16.09
#330E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#330E4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330E4B
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330E4B#FFFFFF#000000##FFFFFF
##330E4B1.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204D
Deuteranopia (green-blind)
#00214A
Tritanopia (blue-blind)
#2F1C2B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #330e4b;
/* rgb */ color: rgb(51, 14, 75);
/* oklch */ color: oklch(26.2% 0.108 308.3);
Tailwind
colors: {
  custom: {
    50: '#6e517e',
    500: '#330e4b',
    950: '#000000',
  },
}
SCSS
$custom: #330e4b;
$custom-light: #6e517e;
$custom-dark: #000000;
JSON
{
  "hex": "#330e4b",
  "rgb": {
    "r": 51,
    "g": 14,
    "b": 75
  },
  "hsl": {
    "h": 276.393,
    "s": 68.539,
    "l": 17.451
  },
  "oklch": {
    "l": 0.26156,
    "c": 0.10751,
    "h": 308.3
  },
  "luminance": 0.01526
}

Semantic roles & 50–950 ramp

primary
#330E4B
secondary
#51862F
accent
#EB3C81
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #330E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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