#33196B#33196B

#33196B is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.6% C 0.133 H 290.9°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#33196B
RGBrgb(51, 25, 107)
HSLhsl(259, 62%, 26%)
HSVhsv(259, 77%, 42%)
CMYKcmyk(52.3%, 76.6%, 0%, 58%)
CIE-LABlab(17.74, 33.64, -43.14)
CIE-LCHlch(17.74, 54.71, 307.95°)
OKLaboklab(30.58% 0.0474 -0.1238)
OKLCHoklch(30.58% 0.133 290.9)
XYZxyz(4.3660, 2.4604, 14.1519)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33196B #516B19
analogous
#19286B #33196B #5C196B
triadic
#33196B #6B3319 #196B33
tetradic
#33196B #6B1928 #516B19 #196B5C
square
#33196B #6B1928 #516B19 #196B5C
split-complementary
#33196B #6B5C19 #286B19
monochromatic
#0C0619 #1B0D39 #33196B #4B259D #6230CE

Accessibility & contrast

On white

14.07
#33196B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#33196B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33196B
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33196B#FFFFFF#000000##FFFFFF
##33196B1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6D
Deuteranopia (green-blind)
#002A69
Tritanopia (blue-blind)
#202F40
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #33196b;
/* rgb */ color: rgb(51, 25, 107);
/* oklch */ color: oklch(30.6% 0.133 290.9);
Tailwind
colors: {
  custom: {
    50: '#715896',
    500: '#33196b',
    950: '#000000',
  },
}
SCSS
$custom: #33196b;
$custom-light: #715896;
$custom-dark: #000000;
JSON
{
  "hex": "#33196b",
  "rgb": {
    "r": 51,
    "g": 25,
    "b": 107
  },
  "hsl": {
    "h": 259.024,
    "s": 62.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30581,
    "c": 0.13257,
    "h": 290.9
  },
  "luminance": 0.02461
}

Semantic roles & 50–950 ramp

primary
#33196B
secondary
#82A13F
accent
#E543B2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #33196B

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

Preview Lab → · Contrast checker → · Palette generator →

#33196B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva