#33197F#33197F

#33197F is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.157 H 285.4°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#33197F
RGBrgb(51, 25, 127)
HSLhsl(255, 67%, 30%)
HSVhsv(255, 80%, 50%)
CMYKcmyk(59.8%, 80.3%, 0%, 50.2%)
CIE-LABlab(19.77, 39.73, -52.68)
CIE-LCHlch(19.77, 65.98, 307.02°)
OKLaboklab(32.62% 0.0417 -0.1518)
OKLCHoklch(32.62% 0.157 285.4)
XYZxyz(5.5425, 2.9310, 20.3482)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33197F #657F19
analogous
#19327F #33197F #66197F
triadic
#33197F #7F3319 #197F33
tetradic
#33197F #7F1932 #657F19 #197F66
square
#33197F #7F1932 #657F19 #197F66
split-complementary
#33197F #7F6619 #327F19
monochromatic
#0A051A #1E0F4C #33197F #4823B2 #623AD8

Accessibility & contrast

On white

13.24
#33197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#33197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33197F
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33197F#FFFFFF#000000##FFFFFF
##33197F1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#09374C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #33197f;
/* rgb */ color: rgb(51, 25, 127);
/* oklch */ color: oklch(32.6% 0.157 285.4);
Tailwind
colors: {
  custom: {
    50: '#755aa5',
    500: '#33197f',
    950: '#000000',
  },
}
SCSS
$custom: #33197f;
$custom-light: #755aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#33197f",
  "rgb": {
    "r": 51,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 255.294,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3262,
    "c": 0.15737,
    "h": 285.4
  },
  "luminance": 0.02931
}

Semantic roles & 50–950 ramp

primary
#33197F
secondary
#96B341
accent
#EA3EBE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #33197F

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

Preview Lab → · Contrast checker → · Palette generator →

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