#33167D#33167D

#33167D is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.158 H 286.3°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#33167D
RGBrgb(51, 22, 125)
HSLhsl(257, 70%, 29%)
HSVhsv(257, 82%, 49%)
CMYKcmyk(59.2%, 82.4%, 0%, 51%)
CIE-LABlab(19.05, 40.59, -52.59)
CIE-LCHlch(19.05, 66.43, 307.66°)
OKLaboklab(32.06% 0.0444 -0.1515)
OKLCHoklch(32.06% 0.158 286.3)
XYZxyz(5.3527, 2.7580, 19.6484)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33167D #607D16
analogous
#162D7D #33167D #67167D
triadic
#33167D #7D3316 #167D33
tetradic
#33167D #7D162D #607D16 #167D67
square
#33167D #7D162D #607D16 #167D67
split-complementary
#33167D #7D6716 #2D7D16
monochromatic
#0B051A #1E0D49 #33167D #481FB1 #6232DB

Accessibility & contrast

On white

13.53
#33167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#33167D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33167D
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33167D#FFFFFF#000000##FFFFFF
##33167D1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003180
Deuteranopia (green-blind)
#002B7B
Tritanopia (blue-blind)
#0E354A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #33167d;
/* rgb */ color: rgb(51, 22, 125);
/* oklch */ color: oklch(32.1% 0.158 286.3);
Tailwind
colors: {
  custom: {
    50: '#7558a4',
    500: '#33167d',
    950: '#000000',
  },
}
SCSS
$custom: #33167d;
$custom-light: #7558a4;
$custom-dark: #000000;
JSON
{
  "hex": "#33167d",
  "rgb": {
    "r": 51,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 256.893,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32056,
    "c": 0.15783,
    "h": 286.3
  },
  "luminance": 0.02758
}

Semantic roles & 50–950 ramp

primary
#33167D
secondary
#91B23D
accent
#ED3BBB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #33167D

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

Preview Lab → · Contrast checker → · Palette generator →

#33167D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva