#32246E#32246E

#32246E is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.5% C 0.122 H 286.1°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#32246E
RGBrgb(50, 36, 110)
HSLhsl(251, 51%, 29%)
HSVhsv(251, 67%, 43%)
CMYKcmyk(54.5%, 67.3%, 0%, 56.9%)
CIE-LABlab(20.30, 27.82, -40.91)
CIE-LCHlch(20.30, 49.47, 304.22°)
OKLaboklab(32.48% 0.0339 -0.1173)
OKLCHoklch(32.48% 0.122 286.1)
XYZxyz(4.7599, 3.0654, 15.0897)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32246E #606E24
analogous
#243B6E #32246E #57246E
triadic
#32246E #6E3224 #246E32
tetradic
#32246E #6E243B #606E24 #246E57
square
#32246E #6E243B #606E24 #246E57
split-complementary
#32246E #6E5724 #3B6E24
monochromatic
#0A0817 #1D1540 #32246E #47339C #6049C3

Accessibility & contrast

On white

13.02
#32246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#32246E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32246E
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32246E#FFFFFF#000000##FFFFFF
##32246E1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#1B3645
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #32246e;
/* rgb */ color: rgb(50, 36, 110);
/* oklch */ color: oklch(32.5% 0.122 286.1);
Tailwind
colors: {
  custom: {
    50: '#705f98',
    500: '#32246e',
    950: '#000000',
  },
}
SCSS
$custom: #32246e;
$custom-light: #705f98;
$custom-dark: #000000;
JSON
{
  "hex": "#32246e",
  "rgb": {
    "r": 50,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 251.351,
    "s": 50.685,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32478,
    "c": 0.12212,
    "h": 286.1
  },
  "luminance": 0.03066
}

Semantic roles & 50–950 ramp

primary
#32246E
secondary
#91A14D
accent
#DA4EC0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #32246E

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

Preview Lab → · Contrast checker → · Palette generator →

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