#33137E#33137E

#33137E is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.162 H 286.5°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#33137E
RGBrgb(51, 19, 126)
HSLhsl(258, 74%, 28%)
HSVhsv(258, 85%, 49%)
CMYKcmyk(59.5%, 84.9%, 0%, 50.6%)
CIE-LABlab(18.69, 42.23, -53.81)
CIE-LCHlch(18.69, 68.40, 308.12°)
OKLaboklab(31.85% 0.0459 -0.155)
OKLCHoklch(31.85% 0.162 286.5)
XYZxyz(5.3629, 2.6756, 19.9685)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33137E #5E7E13
analogous
#13287E #33137E #68137E
triadic
#33137E #7E3313 #137E33
tetradic
#33137E #7E1328 #5E7E13 #137E68
square
#33137E #7E1328 #5E7E13 #137E68
split-complementary
#33137E #7E6813 #287E13
monochromatic
#0B041B #1D0B49 #33137E #491BB3 #622CDF

Accessibility & contrast

On white

13.68
#33137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#33137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33137E
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33137E#FFFFFF#000000##FFFFFF
##33137E1.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#0C344A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #33137e;
/* rgb */ color: rgb(51, 19, 126);
/* oklch */ color: oklch(31.8% 0.162 286.5);
Tailwind
colors: {
  custom: {
    50: '#7556a4',
    500: '#33137e',
    950: '#000000',
  },
}
SCSS
$custom: #33137e;
$custom-light: #7556a4;
$custom-dark: #000000;
JSON
{
  "hex": "#33137e",
  "rgb": {
    "r": 51,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 257.944,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31845,
    "c": 0.16164,
    "h": 286.5
  },
  "luminance": 0.02676
}

Semantic roles & 50–950 ramp

primary
#33137E
secondary
#8FB439
accent
#F037B9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #33137E

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

Preview Lab → · Contrast checker → · Palette generator →

#33137E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva