#431B57#431B57

#431B57 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.2% C 0.108 H 312.5°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#431B57
RGBrgb(67, 27, 87)
HSLhsl(280, 53%, 22%)
HSVhsv(280, 69%, 34%)
CMYKcmyk(23%, 69%, 0%, 65.9%)
CIE-LABlab(18.65, 30.54, -28.32)
CIE-LCHlch(18.65, 41.65, 317.15°)
OKLaboklab(31.19% 0.0731 -0.0797)
OKLCHoklch(31.19% 0.108 312.5)
XYZxyz(4.4267, 2.6654, 9.2963)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431B57 #2F571B
analogous
#251B57 #431B57 #571B4D
triadic
#431B57 #57431B #1B5743
tetradic
#431B57 #57251B #2F571B #1B4D57
square
#431B57 #57251B #2F571B #1B4D57
split-complementary
#431B57 #4D571B #1B5725
monochromatic
#120717 #1F0D28 #431B57 #672986 #8B38B4

Accessibility & contrast

On white

13.70
#431B57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#431B57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431B57
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431B57#FFFFFF#000000##FFFFFF
##431B571.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022B59
Deuteranopia (green-blind)
#172E56
Tritanopia (blue-blind)
#412736
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #431b57;
/* rgb */ color: rgb(67, 27, 87);
/* oklch */ color: oklch(31.2% 0.108 312.5);
Tailwind
colors: {
  custom: {
    50: '#795a87',
    500: '#431b57',
    950: '#000000',
  },
}
SCSS
$custom: #431b57;
$custom-light: #795a87;
$custom-dark: #000000;
JSON
{
  "hex": "#431b57",
  "rgb": {
    "r": 67,
    "g": 27,
    "b": 87
  },
  "hsl": {
    "h": 280,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31193,
    "c": 0.10816,
    "h": 312.5
  },
  "luminance": 0.02665
}

Semantic roles & 50–950 ramp

primary
#431B57
secondary
#5A8D41
accent
#DC4C7C
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #431B57

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

Preview Lab → · Contrast checker → · Palette generator →

#431B57 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva