#33197A#33197A

#33197A is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.151 H 286.6°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#33197A
RGBrgb(51, 25, 122)
HSLhsl(256, 66%, 29%)
HSVhsv(256, 80%, 48%)
CMYKcmyk(58.2%, 79.5%, 0%, 52.2%)
CIE-LABlab(19.24, 38.21, -50.36)
CIE-LCHlch(19.24, 63.22, 307.19°)
OKLaboklab(32.1% 0.0432 -0.145)
OKLCHoklch(32.1% 0.151 286.6)
XYZxyz(5.2247, 2.8039, 18.6745)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33197A #607A19
analogous
#19307A #33197A #64197A
triadic
#33197A #7A3319 #197A33
tetradic
#33197A #7A1930 #607A19 #197A64
square
#33197A #7A1930 #607A19 #197A64
split-complementary
#33197A #7A6419 #307A19
monochromatic
#0B0519 #1E0F47 #33197A #4823AD #6237D6

Accessibility & contrast

On white

13.45
#33197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#33197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33197A
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33197A#FFFFFF#000000##FFFFFF
##33197A1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317D
Deuteranopia (green-blind)
#002C78
Tritanopia (blue-blind)
#123549
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #33197a;
/* rgb */ color: rgb(51, 25, 122);
/* oklch */ color: oklch(32.1% 0.151 286.6);
Tailwind
colors: {
  custom: {
    50: '#7459a1',
    500: '#33197a',
    950: '#000000',
  },
}
SCSS
$custom: #33197a;
$custom-light: #7459a1;
$custom-dark: #000000;
JSON
{
  "hex": "#33197a",
  "rgb": {
    "r": 51,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 256.082,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32095,
    "c": 0.15128,
    "h": 286.6
  },
  "luminance": 0.02804
}

Semantic roles & 50–950 ramp

primary
#33197A
secondary
#91AF40
accent
#E93FBB
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #33197A

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

Preview Lab → · Contrast checker → · Palette generator →

#33197A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva