#310432#310432

#310432 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.095 H 327.2°. Best body text is #FFFFFF at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#310432
RGBrgb(49, 4, 50)
HSLhsl(299, 85%, 11%)
HSVhsv(299, 92%, 20%)
CMYKcmyk(2%, 92%, 0%, 80.4%)
CIE-LABlab(8.74, 28.72, -18.45)
CIE-LCHlch(8.74, 34.13, 327.28°)
OKLaboklab(22.59% 0.0796 -0.0513)
OKLCHoklch(22.59% 0.095 327.2)
XYZxyz(1.8857, 0.9702, 3.1049)
Luminance0.0097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310432 #053204
analogous
#1A0432 #310432 #32041C
triadic
#310432 #323104 #043231
tetradic
#310432 #321A04 #053204 #041C32
square
#310432 #321A04 #053204 #041C32
split-complementary
#310432 #1C3204 #04321A
monochromatic
#1C021C #1C021C #310432 #69096B #A00DA3

Accessibility & contrast

On white

17.59
#310432 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#310432 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310432
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310432#FFFFFF#000000##FFFFFF
##3104321.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001533
Deuteranopia (green-blind)
#101B31
Tritanopia (blue-blind)
#330B1B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310432;
/* rgb */ color: rgb(49, 4, 50);
/* oklch */ color: oklch(22.6% 0.095 327.2);
Tailwind
colors: {
  custom: {
    50: '#6b4a6a',
    500: '#310432',
    950: '#000000',
  },
}
SCSS
$custom: #310432;
$custom-light: #6b4a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#310432",
  "rgb": {
    "r": 49,
    "g": 4,
    "b": 50
  },
  "hsl": {
    "h": 298.696,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22589,
    "c": 0.09465,
    "h": 327.2
  },
  "luminance": 0.0097
}

Semantic roles & 50–950 ramp

primary
#310432
secondary
#1F741D
accent
#FB2C31
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #310432

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

Preview Lab → · Contrast checker → · Palette generator →

#310432 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva