#32266A#32266A

#32266A is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.5% C 0.114 H 286.3°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#32266A
RGBrgb(50, 38, 106)
HSLhsl(251, 47%, 28%)
HSVhsv(251, 64%, 42%)
CMYKcmyk(52.8%, 64.2%, 0%, 58.4%)
CIE-LABlab(20.46, 25.19, -38.06)
CIE-LCHlch(20.46, 45.64, 303.49°)
OKLaboklab(32.49% 0.0319 -0.109)
OKLCHoklch(32.49% 0.114 286.3)
XYZxyz(4.6093, 3.1047, 13.9893)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32266A #5E6A26
analogous
#263C6A #32266A #54266A
triadic
#32266A #6A3226 #266A32
tetradic
#32266A #6A263C #5E6A26 #266A54
square
#32266A #6A263C #5E6A26 #266A54
split-complementary
#32266A #6A5426 #3C6A26
monochromatic
#0B0817 #1D163D #32266A #473697 #604CBF

Accessibility & contrast

On white

12.95
#32266A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#32266A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32266A
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32266A#FFFFFF#000000##FFFFFF
##32266A1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#002F69
Tritanopia (blue-blind)
#1E3644
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #32266a;
/* rgb */ color: rgb(50, 38, 106);
/* oklch */ color: oklch(32.5% 0.114 286.3);
Tailwind
colors: {
  custom: {
    50: '#6f6195',
    500: '#32266a',
    950: '#000000',
  },
}
SCSS
$custom: #32266a;
$custom-light: #6f6195;
$custom-dark: #000000;
JSON
{
  "hex": "#32266a",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 106
  },
  "hsl": {
    "h": 250.588,
    "s": 47.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32486,
    "c": 0.11354,
    "h": 286.3
  },
  "luminance": 0.03105
}

Semantic roles & 50–950 ramp

primary
#32266A
secondary
#8F9D4F
accent
#D751BF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #32266A

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

Preview Lab → · Contrast checker → · Palette generator →

#32266A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva