#431852#431852

#431852 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.4% C 0.107 H 316.2°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#431852
RGBrgb(67, 24, 82)
HSLhsl(284, 55%, 21%)
HSVhsv(284, 71%, 32%)
CMYKcmyk(18.3%, 70.7%, 0%, 67.8%)
CIE-LABlab(17.72, 30.93, -26.45)
CIE-LCHlch(17.72, 40.69, 319.47°)
OKLaboklab(30.41% 0.0774 -0.0742)
OKLCHoklch(30.41% 0.107 316.2)
XYZxyz(4.1641, 2.4559, 8.2357)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431852 #275218
analogous
#261852 #431852 #521844
triadic
#431852 #524318 #185243
tetradic
#431852 #522618 #275218 #184452
square
#431852 #522618 #275218 #184452
split-complementary
#431852 #445218 #185226
monochromatic
#130718 #1C0A23 #431852 #6A2681 #9034B1

Accessibility & contrast

On white

14.08
#431852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#431852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431852
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431852#FFFFFF#000000##FFFFFF
##4318521.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032954
Deuteranopia (green-blind)
#182D51
Tritanopia (blue-blind)
#422332
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #431852;
/* rgb */ color: rgb(67, 24, 82);
/* oklch */ color: oklch(30.4% 0.107 316.2);
Tailwind
colors: {
  custom: {
    50: '#795883',
    500: '#431852',
    950: '#000000',
  },
}
SCSS
$custom: #431852;
$custom-light: #795883;
$custom-dark: #000000;
JSON
{
  "hex": "#431852",
  "rgb": {
    "r": 67,
    "g": 24,
    "b": 82
  },
  "hsl": {
    "h": 284.483,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30407,
    "c": 0.1072,
    "h": 316.2
  },
  "luminance": 0.02456
}

Semantic roles & 50–950 ramp

primary
#431852
secondary
#51893D
accent
#DE4A70
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#09030A
muted
#7B787C

Preview Lab

Preview with #431852

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

Preview Lab → · Contrast checker → · Palette generator →

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