#33197D#33197D

#33197D is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.4% C 0.155 H 285.8°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#33197D
RGBrgb(51, 25, 125)
HSLhsl(256, 67%, 29%)
HSVhsv(256, 80%, 49%)
CMYKcmyk(59.2%, 80%, 0%, 51%)
CIE-LABlab(19.55, 39.12, -51.76)
CIE-LCHlch(19.55, 64.88, 307.09°)
OKLaboklab(32.41% 0.0423 -0.1491)
OKLCHoklch(32.41% 0.155 285.8)
XYZxyz(5.4134, 2.8794, 19.6686)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33197D #637D19
analogous
#19317D #33197D #65197D
triadic
#33197D #7D3319 #197D33
tetradic
#33197D #7D1931 #637D19 #197D65
square
#33197D #7D1931 #637D19 #197D65
split-complementary
#33197D #7D6519 #317D19
monochromatic
#0A051A #1E0F4A #33197D #4823B0 #6239D7

Accessibility & contrast

On white

13.32
#33197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#33197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33197D
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33197D#FFFFFF#000000##FFFFFF
##33197D1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#002C7B
Tritanopia (blue-blind)
#0D364A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #33197d;
/* rgb */ color: rgb(51, 25, 125);
/* oklch */ color: oklch(32.4% 0.155 285.8);
Tailwind
colors: {
  custom: {
    50: '#7459a4',
    500: '#33197d',
    950: '#000000',
  },
}
SCSS
$custom: #33197d;
$custom-light: #7459a4;
$custom-dark: #000000;
JSON
{
  "hex": "#33197d",
  "rgb": {
    "r": 51,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 255.6,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32409,
    "c": 0.15494,
    "h": 285.8
  },
  "luminance": 0.0288
}

Semantic roles & 50–950 ramp

primary
#33197D
secondary
#94B140
accent
#EA3EBD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #33197D

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

Preview Lab → · Contrast checker → · Palette generator →

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