#33196D#33196D

#33196D is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.135 H 290.3°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#33196D
RGBrgb(51, 25, 109)
HSLhsl(259, 63%, 26%)
HSVhsv(259, 77%, 43%)
CMYKcmyk(53.2%, 77.1%, 0%, 57.3%)
CIE-LABlab(17.93, 34.25, -44.13)
CIE-LCHlch(17.93, 55.86, 307.82°)
OKLaboklab(30.78% 0.0468 -0.1267)
OKLCHoklch(30.78% 0.135 290.3)
XYZxyz(4.4724, 2.5030, 14.7125)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33196D #536D19
analogous
#19296D #33196D #5D196D
triadic
#33196D #6D3319 #196D33
tetradic
#33196D #6D1929 #536D19 #196D5D
square
#33196D #6D1929 #536D19 #196D5D
split-complementary
#33196D #6D5D19 #296D19
monochromatic
#0C0619 #1C0E3B #33196D #4A249F #6231D0

Accessibility & contrast

On white

13.99
#33196D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33196D
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33196D#FFFFFF#000000##FFFFFF
##33196D1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6F
Deuteranopia (green-blind)
#002A6B
Tritanopia (blue-blind)
#1F3041
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #33196d;
/* rgb */ color: rgb(51, 25, 109);
/* oklch */ color: oklch(30.8% 0.135 290.3);
Tailwind
colors: {
  custom: {
    50: '#725898',
    500: '#33196d',
    950: '#000000',
  },
}
SCSS
$custom: #33196d;
$custom-light: #725898;
$custom-dark: #000000;
JSON
{
  "hex": "#33196d",
  "rgb": {
    "r": 51,
    "g": 25,
    "b": 109
  },
  "hsl": {
    "h": 258.571,
    "s": 62.687,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30777,
    "c": 0.1351,
    "h": 290.3
  },
  "luminance": 0.02503
}

Semantic roles & 50–950 ramp

primary
#33196D
secondary
#84A23F
accent
#E642B3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #33196D

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

Preview Lab → · Contrast checker → · Palette generator →

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