#33196C#33196C

#33196C is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.134 H 290.6°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#33196C
RGBrgb(51, 25, 108)
HSLhsl(259, 62%, 26%)
HSVhsv(259, 77%, 42%)
CMYKcmyk(52.8%, 76.9%, 0%, 57.6%)
CIE-LABlab(17.84, 33.95, -43.63)
CIE-LCHlch(17.84, 55.28, 307.88°)
OKLaboklab(30.68% 0.0471 -0.1253)
OKLCHoklch(30.68% 0.134 290.6)
XYZxyz(4.4189, 2.4816, 14.4306)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33196C #526C19
analogous
#19286C #33196C #5C196C
triadic
#33196C #6C3319 #196C33
tetradic
#33196C #6C1928 #526C19 #196C5C
square
#33196C #6C1928 #526C19 #196C5C
split-complementary
#33196C #6C5C19 #286C19
monochromatic
#0C0619 #1C0D3A #33196C #4A259E #6230CF

Accessibility & contrast

On white

14.03
#33196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#33196C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33196C
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33196C#FFFFFF#000000##FFFFFF
##33196C1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6E
Deuteranopia (green-blind)
#002A6A
Tritanopia (blue-blind)
#1F2F41
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #33196c;
/* rgb */ color: rgb(51, 25, 108);
/* oklch */ color: oklch(30.7% 0.134 290.6);
Tailwind
colors: {
  custom: {
    50: '#715897',
    500: '#33196c',
    950: '#000000',
  },
}
SCSS
$custom: #33196c;
$custom-light: #715897;
$custom-dark: #000000;
JSON
{
  "hex": "#33196c",
  "rgb": {
    "r": 51,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 258.795,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30679,
    "c": 0.13384,
    "h": 290.6
  },
  "luminance": 0.02482
}

Semantic roles & 50–950 ramp

primary
#33196C
secondary
#83A13F
accent
#E542B2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #33196C

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

Preview Lab → · Contrast checker → · Palette generator →

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