#330E50#330E50

#330E50 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.6% C 0.113 H 305.3°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#330E50
RGBrgb(51, 14, 80)
HSLhsl(274, 70%, 18%)
HSVhsv(274, 83%, 31%)
CMYKcmyk(36.3%, 82.5%, 0%, 68.6%)
CIE-LABlab(13.21, 31.57, -32.48)
CIE-LCHlch(13.21, 45.30, 314.18°)
OKLaboklab(26.61% 0.0654 -0.0924)
OKLCHoklch(26.61% 0.113 305.3)
XYZxyz(2.9699, 1.5971, 7.7397)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330E50 #2B500E
analogous
#120E50 #330E50 #500E4C
triadic
#330E50 #50330E #0E5033
tetradic
#330E50 #50120E #2B500E #0E4C50
square
#330E50 #50120E #2B500E #0E4C50
split-complementary
#330E50 #4C500E #0E5012
monochromatic
#11051A #12051C #330E50 #541784 #7520B8

Accessibility & contrast

On white

15.92
#330E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#330E50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330E50
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330E50#FFFFFF#000000##FFFFFF
##330E501.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002152
Deuteranopia (green-blind)
#00224F
Tritanopia (blue-blind)
#2E1E2E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #330e50;
/* rgb */ color: rgb(51, 14, 80);
/* oklch */ color: oklch(26.6% 0.113 305.3);
Tailwind
colors: {
  custom: {
    50: '#6e5182',
    500: '#330e50',
    950: '#000000',
  },
}
SCSS
$custom: #330e50;
$custom-light: #6e5182;
$custom-dark: #000000;
JSON
{
  "hex": "#330e50",
  "rgb": {
    "r": 51,
    "g": 14,
    "b": 80
  },
  "hsl": {
    "h": 273.636,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.26605,
    "c": 0.11325,
    "h": 305.3
  },
  "luminance": 0.01597
}

Semantic roles & 50–950 ramp

primary
#330E50
secondary
#578B2F
accent
#ED3B89
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020A
muted
#7A787C

Preview Lab

Preview with #330E50

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

Preview Lab → · Contrast checker → · Palette generator →

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