#431252#431252

#431252 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.7% C 0.116 H 317.1°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#431252
RGBrgb(67, 18, 82)
HSLhsl(286, 64%, 20%)
HSVhsv(286, 78%, 32%)
CMYKcmyk(18.3%, 78%, 0%, 67.8%)
CIE-LABlab(16.68, 33.85, -28.12)
CIE-LCHlch(16.68, 44.00, 320.28°)
OKLaboklab(29.66% 0.0849 -0.079)
OKLCHoklch(29.66% 0.116 317.1)
XYZxyz(4.0538, 2.2353, 8.1989)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431252 #215212
analogous
#231252 #431252 #521241
triadic
#431252 #524312 #125243
tetradic
#431252 #522312 #215212 #124152
square
#431252 #522312 #215212 #124152
split-complementary
#431252 #415212 #125223
monochromatic
#150619 #1A0720 #431252 #6C1D84 #9528B6

Accessibility & contrast

On white

14.51
#431252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#431252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431252
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431252#FFFFFF#000000##FFFFFF
##4312521.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002654
Deuteranopia (green-blind)
#132B51
Tritanopia (blue-blind)
#421F30
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #431252;
/* rgb */ color: rgb(67, 18, 82);
/* oklch */ color: oklch(29.7% 0.116 317.1);
Tailwind
colors: {
  custom: {
    50: '#7a5583',
    500: '#431252',
    950: '#000000',
  },
}
SCSS
$custom: #431252;
$custom-light: #7a5583;
$custom-dark: #000000;
JSON
{
  "hex": "#431252",
  "rgb": {
    "r": 67,
    "g": 18,
    "b": 82
  },
  "hsl": {
    "h": 285.938,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.2966,
    "c": 0.116,
    "h": 317.1
  },
  "luminance": 0.02235
}

Semantic roles & 50–950 ramp

primary
#431252
secondary
#498B35
accent
#E74168
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#09030A
muted
#7B787C

Preview Lab

Preview with #431252

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

Preview Lab → · Contrast checker → · Palette generator →

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