#33197E#33197E

#33197E is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.156 H 285.6°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#33197E
RGBrgb(51, 25, 126)
HSLhsl(255, 67%, 30%)
HSVhsv(255, 80%, 49%)
CMYKcmyk(59.5%, 80.2%, 0%, 50.6%)
CIE-LABlab(19.66, 39.43, -52.22)
CIE-LCHlch(19.66, 65.43, 307.05°)
OKLaboklab(32.51% 0.042 -0.1504)
OKLCHoklch(32.51% 0.156 285.6)
XYZxyz(5.4776, 2.9051, 20.0067)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33197E #647E19
analogous
#19317E #33197E #66197E
triadic
#33197E #7E3319 #197E33
tetradic
#33197E #7E1931 #647E19 #197E66
square
#33197E #7E1931 #647E19 #197E66
split-complementary
#33197E #7E6619 #317E19
monochromatic
#0A051A #1E0F4B #33197E #4823B1 #623AD8

Accessibility & contrast

On white

13.28
#33197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33197E
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33197E#FFFFFF#000000##FFFFFF
##33197E1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#0C364B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #33197e;
/* rgb */ color: rgb(51, 25, 126);
/* oklch */ color: oklch(32.5% 0.156 285.6);
Tailwind
colors: {
  custom: {
    50: '#7559a4',
    500: '#33197e',
    950: '#000000',
  },
}
SCSS
$custom: #33197e;
$custom-light: #7559a4;
$custom-dark: #000000;
JSON
{
  "hex": "#33197e",
  "rgb": {
    "r": 51,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 255.446,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32514,
    "c": 0.15616,
    "h": 285.6
  },
  "luminance": 0.02905
}

Semantic roles & 50–950 ramp

primary
#33197E
secondary
#95B241
accent
#EA3EBE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #33197E

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

Preview Lab → · Contrast checker → · Palette generator →

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