#32034E#32034E

#32034E is a dark, vivid violet. Relative luminance 0.013; OKLCH L 25.1% C 0.123 H 307.4°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#32034E
RGBrgb(50, 3, 78)
HSLhsl(278, 93%, 16%)
HSVhsv(278, 96%, 31%)
CMYKcmyk(35.9%, 96.2%, 0%, 69.4%)
CIE-LABlab(11.23, 35.63, -34.35)
CIE-LCHlch(11.23, 49.49, 316.04°)
OKLaboklab(25.13% 0.0749 -0.0979)
OKLCHoklch(25.13% 0.123 307.4)
XYZxyz(2.7228, 1.2933, 7.3124)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32034E #1F4E03
analogous
#0C034E #32034E #4E0344
triadic
#32034E #4E3203 #034E32
tetradic
#32034E #4E0C03 #1F4E03 #03444E
square
#32034E #4E0C03 #1F4E03 #03444E
split-complementary
#32034E #444E03 #034E0C
monochromatic
#13011D #13011D #32034E #580589 #7E08C4

Accessibility & contrast

On white

16.69
#32034E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#32034E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32034E
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32034E#FFFFFF#000000##FFFFFF
##32034E1.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C50
Deuteranopia (green-blind)
#001E4D
Tritanopia (blue-blind)
#2D192B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #32034e;
/* rgb */ color: rgb(50, 3, 78);
/* oklch */ color: oklch(25.1% 0.123 307.4);
Tailwind
colors: {
  custom: {
    50: '#6e4c80',
    500: '#32034e',
    950: '#000000',
  },
}
SCSS
$custom: #32034e;
$custom-light: #6e4c80;
$custom-dark: #000000;
JSON
{
  "hex": "#32034e",
  "rgb": {
    "r": 50,
    "g": 3,
    "b": 78
  },
  "hsl": {
    "h": 277.6,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25132,
    "c": 0.12327,
    "h": 307.4
  },
  "luminance": 0.01293
}

Semantic roles & 50–950 ramp

primary
#32034E
secondary
#488E1E
accent
#FF2979
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#08010A
muted
#7B777C

Preview Lab

Preview with #32034E

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

Preview Lab → · Contrast checker → · Palette generator →

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