#431256#431256

#431256 is a dark, vivid purple. Relative luminance 0.023; OKLCH L 30.0% C 0.120 H 314.6°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#431256
RGBrgb(67, 18, 86)
HSLhsl(283, 65%, 20%)
HSVhsv(283, 79%, 34%)
CMYKcmyk(22.1%, 79.1%, 0%, 66.3%)
CIE-LABlab(16.98, 34.77, -30.34)
CIE-LCHlch(16.98, 46.14, 318.89°)
OKLaboklab(29.97% 0.0844 -0.0856)
OKLCHoklch(29.97% 0.12 314.6)
XYZxyz(4.2105, 2.2979, 9.0240)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431256 #255612
analogous
#211256 #431256 #561247
triadic
#431256 #564312 #125643
tetradic
#431256 #562112 #255612 #124756
square
#431256 #562112 #255612 #124756
split-complementary
#431256 #475612 #125621
monochromatic
#140519 #1C0723 #431256 #6A1D89 #9227BB

Accessibility & contrast

On white

14.39
#431256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431256
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431256#FFFFFF#000000##FFFFFF
##4312561.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002758
Deuteranopia (green-blind)
#0F2B55
Tritanopia (blue-blind)
#412133
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #431256;
/* rgb */ color: rgb(67, 18, 86);
/* oklch */ color: oklch(30.0% 0.120 314.6);
Tailwind
colors: {
  custom: {
    50: '#7a5586',
    500: '#431256',
    950: '#000000',
  },
}
SCSS
$custom: #431256;
$custom-light: #7a5586;
$custom-dark: #000000;
JSON
{
  "hex": "#431256",
  "rgb": {
    "r": 67,
    "g": 18,
    "b": 86
  },
  "hsl": {
    "h": 283.235,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29972,
    "c": 0.12019,
    "h": 314.6
  },
  "luminance": 0.02298
}

Semantic roles & 50–950 ramp

primary
#431256
secondary
#4E8F35
accent
#E83F6F
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #431256

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

Preview Lab → · Contrast checker → · Palette generator →

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