#330E4E#330E4E

#330E4E is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.4% C 0.111 H 306.4°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#330E4E
RGBrgb(51, 14, 78)
HSLhsl(275, 70%, 18%)
HSVhsv(275, 82%, 31%)
CMYKcmyk(34.6%, 82.1%, 0%, 69.4%)
CIE-LABlab(13.03, 31.04, -31.40)
CIE-LCHlch(13.03, 44.15, 314.67°)
OKLaboklab(26.42% 0.0659 -0.0893)
OKLCHoklch(26.42% 0.111 306.4)
XYZxyz(2.8971, 1.5680, 7.3563)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330E4E #294E0E
analogous
#130E4E #330E4E #4E0E49
triadic
#330E4E #4E330E #0E4E33
tetradic
#330E4E #4E130E #294E0E #0E494E
square
#330E4E #4E130E #294E0E #0E494E
split-complementary
#330E4E #494E0E #0E4E13
monochromatic
#11051A #11051A #330E4E #551782 #7721B6

Accessibility & contrast

On white

15.99
#330E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330E4E
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330E4E#FFFFFF#000000##FFFFFF
##330E4E1.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002050
Deuteranopia (green-blind)
#00224D
Tritanopia (blue-blind)
#2E1E2D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #330e4e;
/* rgb */ color: rgb(51, 14, 78);
/* oklch */ color: oklch(26.4% 0.111 306.4);
Tailwind
colors: {
  custom: {
    50: '#6e5180',
    500: '#330e4e',
    950: '#000000',
  },
}
SCSS
$custom: #330e4e;
$custom-light: #6e5180;
$custom-dark: #000000;
JSON
{
  "hex": "#330e4e",
  "rgb": {
    "r": 51,
    "g": 14,
    "b": 78
  },
  "hsl": {
    "h": 274.688,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26423,
    "c": 0.11096,
    "h": 306.4
  },
  "luminance": 0.01568
}

Semantic roles & 50–950 ramp

primary
#330E4E
secondary
#55892F
accent
#EC3B86
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #330E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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