#330E57#330E57

#330E57 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.3% C 0.121 H 301.6°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#330E57
RGBrgb(51, 14, 87)
HSLhsl(270, 72%, 20%)
HSVhsv(270, 84%, 34%)
CMYKcmyk(41.4%, 83.9%, 0%, 65.9%)
CIE-LABlab(13.86, 33.44, -36.19)
CIE-LCHlch(13.86, 49.28, 312.74°)
OKLaboklab(27.26% 0.0635 -0.1033)
OKLCHoklch(27.26% 0.121 301.6)
XYZxyz(3.2422, 1.7060, 9.1735)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330E57 #32570E
analogous
#0F0E57 #330E57 #570E57
triadic
#330E57 #57330E #0E5733
tetradic
#330E57 #570F0E #32570E #0E5757
square
#330E57 #570F0E #32570E #0E5757
split-complementary
#330E57 #57570E #0E570F
monochromatic
#0F041A #140622 #330E57 #52168C #711FC0

Accessibility & contrast

On white

15.66
#330E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#330E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330E57
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330E57#FFFFFF#000000##FFFFFF
##330E571.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002359
Deuteranopia (green-blind)
#002356
Tritanopia (blue-blind)
#2B2132
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #330e57;
/* rgb */ color: rgb(51, 14, 87);
/* oklch */ color: oklch(27.3% 0.121 301.6);
Tailwind
colors: {
  custom: {
    50: '#6f5187',
    500: '#330e57',
    950: '#000000',
  },
}
SCSS
$custom: #330e57;
$custom-light: #6f5187;
$custom-dark: #000000;
JSON
{
  "hex": "#330e57",
  "rgb": {
    "r": 51,
    "g": 14,
    "b": 87
  },
  "hsl": {
    "h": 270.411,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27262,
    "c": 0.12128,
    "h": 301.6
  },
  "luminance": 0.01706
}

Semantic roles & 50–950 ramp

primary
#330E57
secondary
#609130
accent
#EF3993
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #330E57

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

Preview Lab → · Contrast checker → · Palette generator →

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