#33197C#33197C

#33197C is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.154 H 286.1°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#33197C
RGBrgb(51, 25, 124)
HSLhsl(256, 66%, 29%)
HSVhsv(256, 80%, 49%)
CMYKcmyk(58.9%, 79.8%, 0%, 51.4%)
CIE-LABlab(19.45, 38.82, -51.29)
CIE-LCHlch(19.45, 64.33, 307.12°)
OKLaboklab(32.3% 0.0426 -0.1477)
OKLCHoklch(32.3% 0.154 286.1)
XYZxyz(5.3499, 2.8540, 19.3338)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33197C #627C19
analogous
#19307C #33197C #65197C
triadic
#33197C #7C3319 #197C33
tetradic
#33197C #7C1930 #627C19 #197C65
square
#33197C #7C1930 #627C19 #197C65
split-complementary
#33197C #7C6519 #307C19
monochromatic
#0A0519 #1E0F49 #33197C #4823AF #6238D7

Accessibility & contrast

On white

13.37
#33197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#33197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33197C
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33197C#FFFFFF#000000##FFFFFF
##33197C1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#0F354A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #33197c;
/* rgb */ color: rgb(51, 25, 124);
/* oklch */ color: oklch(32.3% 0.154 286.1);
Tailwind
colors: {
  custom: {
    50: '#7459a3',
    500: '#33197c',
    950: '#000000',
  },
}
SCSS
$custom: #33197c;
$custom-light: #7459a3;
$custom-dark: #000000;
JSON
{
  "hex": "#33197c",
  "rgb": {
    "r": 51,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 255.758,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32304,
    "c": 0.15372,
    "h": 286.1
  },
  "luminance": 0.02854
}

Semantic roles & 50–950 ramp

primary
#33197C
secondary
#93B040
accent
#E93EBC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #33197C

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

Preview Lab → · Contrast checker → · Palette generator →

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