#32235D#32235D

#32235D is a dark, moderate violet. Relative luminance 0.027; OKLCH L 30.8% C 0.099 H 291.4°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#32235D
RGBrgb(50, 35, 93)
HSLhsl(256, 45%, 25%)
HSVhsv(256, 62%, 36%)
CMYKcmyk(46.2%, 62.4%, 0%, 63.5%)
CIE-LABlab(18.67, 22.88, -32.41)
CIE-LCHlch(18.67, 39.68, 305.22°)
OKLaboklab(30.85% 0.0362 -0.0923)
OKLCHoklch(30.85% 0.099 291.4)
XYZxyz(3.8917, 2.6704, 10.6642)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32235D #4E5D23
analogous
#23315D #32235D #4F235D
triadic
#32235D #5D3223 #235D32
tetradic
#32235D #5D2331 #4E5D23 #235D4F
square
#32235D #5D2331 #4E5D23 #235D4F
split-complementary
#32235D #5D4F23 #315D23
monochromatic
#0C0816 #1A1231 #32235D #4A3489 #6244B6

Accessibility & contrast

On white

13.69
#32235D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#32235D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32235D
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32235D#FFFFFF#000000##FFFFFF
##32235D1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5F
Deuteranopia (green-blind)
#042C5C
Tritanopia (blue-blind)
#26303C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #32235d;
/* rgb */ color: rgb(50, 35, 93);
/* oklch */ color: oklch(30.8% 0.099 291.4);
Tailwind
colors: {
  custom: {
    50: '#6d5e8b',
    500: '#32235d',
    950: '#000000',
  },
}
SCSS
$custom: #32235d;
$custom-light: #6d5e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#32235d",
  "rgb": {
    "r": 50,
    "g": 35,
    "b": 93
  },
  "hsl": {
    "h": 255.517,
    "s": 45.312,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30849,
    "c": 0.09919,
    "h": 291.4
  },
  "luminance": 0.0267
}

Semantic roles & 50–950 ramp

primary
#32235D
secondary
#7F914B
accent
#D553B3
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07040C
muted
#7A797D

Preview Lab

Preview with #32235D

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

Preview Lab → · Contrast checker → · Palette generator →

#32235D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva