#431552#431552

#431552 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 30.0% C 0.112 H 316.7°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#431552
RGBrgb(67, 21, 82)
HSLhsl(285, 59%, 20%)
HSVhsv(285, 74%, 32%)
CMYKcmyk(18.3%, 74.4%, 0%, 67.8%)
CIE-LABlab(17.17, 32.44, -27.32)
CIE-LCHlch(17.17, 42.41, 319.90°)
OKLaboklab(30.02% 0.0813 -0.0767)
OKLCHoklch(30.02% 0.112 316.7)
XYZxyz(4.1057, 2.3390, 8.2162)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431552 #245215
analogous
#251552 #431552 #521542
triadic
#431552 #524315 #155243
tetradic
#431552 #522515 #245215 #154252
square
#431552 #522515 #245215 #154252
split-complementary
#431552 #425215 #155225
monochromatic
#140618 #1B0921 #431552 #6B2183 #932EB3

Accessibility & contrast

On white

14.31
#431552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#431552 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431552
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431552#FFFFFF#000000##FFFFFF
##4315521.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002754
Deuteranopia (green-blind)
#162C51
Tritanopia (blue-blind)
#422131
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #431552;
/* rgb */ color: rgb(67, 21, 82);
/* oklch */ color: oklch(30.0% 0.112 316.7);
Tailwind
colors: {
  custom: {
    50: '#7a5783',
    500: '#431552',
    950: '#000000',
  },
}
SCSS
$custom: #431552;
$custom-light: #7a5783;
$custom-dark: #000000;
JSON
{
  "hex": "#431552",
  "rgb": {
    "r": 67,
    "g": 21,
    "b": 82
  },
  "hsl": {
    "h": 285.246,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30016,
    "c": 0.11178,
    "h": 316.7
  },
  "luminance": 0.02339
}

Semantic roles & 50–950 ramp

primary
#431552
secondary
#4D8A39
accent
#E2456C
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#09030A
muted
#7B787C

Preview Lab

Preview with #431552

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

Preview Lab → · Contrast checker → · Palette generator →

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