#33198D#33198D

#33198D is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.174 H 282.3°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#33198D
RGBrgb(51, 25, 141)
HSLhsl(253, 70%, 33%)
HSVhsv(253, 82%, 55%)
CMYKcmyk(63.8%, 82.3%, 0%, 44.7%)
CIE-LABlab(21.29, 43.94, -58.98)
CIE-LCHlch(21.29, 73.55, 306.69°)
OKLaboklab(34.13% 0.0372 -0.1701)
OKLCHoklch(34.13% 0.174 282.3)
XYZxyz(6.5191, 3.3217, 25.4918)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33198D #738D19
analogous
#19398D #33198D #6D198D
triadic
#33198D #8D3319 #198D33
tetradic
#33198D #8D1939 #738D19 #198D6D
square
#33198D #8D1939 #738D19 #198D6D
split-complementary
#33198D #8D6D19 #398D19
monochromatic
#0D0725 #201059 #33198D #4622C1 #6543DE

Accessibility & contrast

On white

12.62
#33198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#33198D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33198D
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33198D#FFFFFF#000000##FFFFFF
##33198D1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003790
Deuteranopia (green-blind)
#002F8B
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #33198d;
/* rgb */ color: rgb(51, 25, 141);
/* oklch */ color: oklch(34.1% 0.174 282.3);
Tailwind
colors: {
  custom: {
    50: '#785ab0',
    500: '#33198d',
    950: '#000000',
  },
}
SCSS
$custom: #33198d;
$custom-light: #785ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#33198d",
  "rgb": {
    "r": 51,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 253.448,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34132,
    "c": 0.17413,
    "h": 282.3
  },
  "luminance": 0.03322
}

Semantic roles & 50–950 ramp

primary
#33198D
secondary
#A3BF43
accent
#ED3BC5
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #33198D

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

Preview Lab → · Contrast checker → · Palette generator →

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