#330E4D#330E4D

#330E4D is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.3% C 0.110 H 307.0°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#330E4D
RGBrgb(51, 14, 77)
HSLhsl(275, 69%, 18%)
HSVhsv(275, 82%, 30%)
CMYKcmyk(33.8%, 81.8%, 0%, 69.8%)
CIE-LABlab(12.95, 30.78, -30.85)
CIE-LCHlch(12.95, 43.58, 314.93°)
OKLaboklab(26.33% 0.0661 -0.0877)
OKLCHoklch(26.33% 0.11 307)
XYZxyz(2.8615, 1.5537, 7.1689)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330E4D #284D0E
analogous
#130E4D #330E4D #4D0E47
triadic
#330E4D #4D330E #0E4D33
tetradic
#330E4D #4D130E #284D0E #0E474D
square
#330E4D #4D130E #284D0E #0E474D
split-complementary
#330E4D #474D0E #0E4D13
monochromatic
#11051A #11051A #330E4D #551781 #7821B5

Accessibility & contrast

On white

16.02
#330E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330E4D
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330E4D#FFFFFF#000000##FFFFFF
##330E4D1.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204F
Deuteranopia (green-blind)
#00224C
Tritanopia (blue-blind)
#2F1D2D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #330e4d;
/* rgb */ color: rgb(51, 14, 77);
/* oklch */ color: oklch(26.3% 0.110 307.0);
Tailwind
colors: {
  custom: {
    50: '#6e517f',
    500: '#330e4d',
    950: '#000000',
  },
}
SCSS
$custom: #330e4d;
$custom-light: #6e517f;
$custom-dark: #000000;
JSON
{
  "hex": "#330e4d",
  "rgb": {
    "r": 51,
    "g": 14,
    "b": 77
  },
  "hsl": {
    "h": 275.238,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.26333,
    "c": 0.10981,
    "h": 307
  },
  "luminance": 0.01554
}

Semantic roles & 50–950 ramp

primary
#330E4D
secondary
#54882F
accent
#EC3C85
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #330E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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