#33196F#33196F

#33196F is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.138 H 289.7°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#33196F
RGBrgb(51, 25, 111)
HSLhsl(258, 63%, 27%)
HSVhsv(258, 77%, 44%)
CMYKcmyk(54.1%, 77.5%, 0%, 56.5%)
CIE-LABlab(18.13, 34.86, -45.10)
CIE-LCHlch(18.13, 57.01, 307.70°)
OKLaboklab(30.98% 0.0463 -0.1296)
OKLCHoklch(30.98% 0.138 289.7)
XYZxyz(4.5813, 2.5466, 15.2860)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33196F #556F19
analogous
#192A6F #33196F #5E196F
triadic
#33196F #6F3319 #196F33
tetradic
#33196F #6F192A #556F19 #196F5E
square
#33196F #6F192A #556F19 #196F5E
split-complementary
#33196F #6F5E19 #2A6F19
monochromatic
#0B0619 #1C0E3D #33196F #4A24A1 #6232D1

Accessibility & contrast

On white

13.91
#33196F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33196F
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33196F#FFFFFF#000000##FFFFFF
##33196F1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E71
Deuteranopia (green-blind)
#002A6D
Tritanopia (blue-blind)
#1D3042
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #33196f;
/* rgb */ color: rgb(51, 25, 111);
/* oklch */ color: oklch(31.0% 0.138 289.7);
Tailwind
colors: {
  custom: {
    50: '#725999',
    500: '#33196f',
    950: '#000000',
  },
}
SCSS
$custom: #33196f;
$custom-light: #725999;
$custom-dark: #000000;
JSON
{
  "hex": "#33196f",
  "rgb": {
    "r": 51,
    "g": 25,
    "b": 111
  },
  "hsl": {
    "h": 258.14,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30975,
    "c": 0.13762,
    "h": 289.7
  },
  "luminance": 0.02547
}

Semantic roles & 50–950 ramp

primary
#33196F
secondary
#86A43F
accent
#E642B4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #33196F

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

Preview Lab → · Contrast checker → · Palette generator →

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