#33196E#33196E

#33196E is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.136 H 290.0°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#33196E
RGBrgb(51, 25, 110)
HSLhsl(258, 63%, 26%)
HSVhsv(258, 77%, 43%)
CMYKcmyk(53.6%, 77.3%, 0%, 56.9%)
CIE-LABlab(18.03, 34.56, -44.62)
CIE-LCHlch(18.03, 56.43, 307.76°)
OKLaboklab(30.88% 0.0466 -0.1282)
OKLCHoklch(30.88% 0.136 290)
XYZxyz(4.5265, 2.5247, 14.9976)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33196E #546E19
analogous
#192A6E #33196E #5E196E
triadic
#33196E #6E3319 #196E33
tetradic
#33196E #6E192A #546E19 #196E5E
square
#33196E #6E192A #546E19 #196E5E
split-complementary
#33196E #6E5E19 #2A6E19
monochromatic
#0C0619 #1C0E3C #33196E #4A24A0 #6231D0

Accessibility & contrast

On white

13.95
#33196E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#33196E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33196E
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33196E#FFFFFF#000000##FFFFFF
##33196E1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E70
Deuteranopia (green-blind)
#002A6C
Tritanopia (blue-blind)
#1E3042
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #33196e;
/* rgb */ color: rgb(51, 25, 110);
/* oklch */ color: oklch(30.9% 0.136 290.0);
Tailwind
colors: {
  custom: {
    50: '#725998',
    500: '#33196e',
    950: '#000000',
  },
}
SCSS
$custom: #33196e;
$custom-light: #725998;
$custom-dark: #000000;
JSON
{
  "hex": "#33196e",
  "rgb": {
    "r": 51,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 258.353,
    "s": 62.963,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30876,
    "c": 0.13636,
    "h": 290
  },
  "luminance": 0.02525
}

Semantic roles & 50–950 ramp

primary
#33196E
secondary
#85A33F
accent
#E642B4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #33196E

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

Preview Lab → · Contrast checker → · Palette generator →

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