#431452#431452

#431452 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.9% C 0.113 H 316.8°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#431452
RGBrgb(67, 20, 82)
HSLhsl(285, 61%, 20%)
HSVhsv(285, 76%, 32%)
CMYKcmyk(18.3%, 75.6%, 0%, 67.8%)
CIE-LABlab(17.00, 32.92, -27.59)
CIE-LCHlch(17.00, 42.96, 320.04°)
OKLaboklab(29.89% 0.0825 -0.0775)
OKLCHoklch(29.89% 0.113 316.8)
XYZxyz(4.0877, 2.3030, 8.2102)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431452 #235214
analogous
#241452 #431452 #521442
triadic
#431452 #524314 #145243
tetradic
#431452 #522414 #235214 #144252
square
#431452 #522414 #235214 #144252
split-complementary
#431452 #425214 #145224
monochromatic
#140619 #1B0821 #431452 #6B2083 #932CB4

Accessibility & contrast

On white

14.38
#431452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#431452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431452
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431452#FFFFFF#000000##FFFFFF
##4314521.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002754
Deuteranopia (green-blind)
#152B51
Tritanopia (blue-blind)
#422031
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #431452;
/* rgb */ color: rgb(67, 20, 82);
/* oklch */ color: oklch(29.9% 0.113 316.8);
Tailwind
colors: {
  custom: {
    50: '#7a5683',
    500: '#431452',
    950: '#000000',
  },
}
SCSS
$custom: #431452;
$custom-light: #7a5683;
$custom-dark: #000000;
JSON
{
  "hex": "#431452",
  "rgb": {
    "r": 67,
    "g": 20,
    "b": 82
  },
  "hsl": {
    "h": 285.484,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.29893,
    "c": 0.11323,
    "h": 316.8
  },
  "luminance": 0.02303
}

Semantic roles & 50–950 ramp

primary
#431452
secondary
#4C8A38
accent
#E4446B
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#09030A
muted
#7B787C

Preview Lab

Preview with #431452

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

Preview Lab → · Contrast checker → · Palette generator →

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