#431872#431872

#431872 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.144 H 300.2°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#431872
RGBrgb(67, 24, 114)
HSLhsl(269, 65%, 27%)
HSVhsv(269, 79%, 45%)
CMYKcmyk(41.2%, 78.9%, 0%, 55.3%)
CIE-LABlab(20.29, 39.04, -43.43)
CIE-LCHlch(20.29, 58.40, 311.96°)
OKLaboklab(33.05% 0.0722 -0.1241)
OKLCHoklch(33.05% 0.144 300.2)
XYZxyz(5.6779, 3.0614, 16.2081)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431872 #477218
analogous
#181A72 #431872 #701872
triadic
#431872 #724318 #187243
tetradic
#431872 #72181A #477218 #187270
square
#431872 #72181A #477218 #187270
split-complementary
#431872 #727018 #1A7218
monochromatic
#0F0519 #250D3F #431872 #6123A5 #7F31D4

Accessibility & contrast

On white

13.03
#431872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#431872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431872
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431872#FFFFFF#000000##FFFFFF
##4318721.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003175
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#382F44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #431872;
/* rgb */ color: rgb(67, 24, 114);
/* oklch */ color: oklch(33.0% 0.144 300.2);
Tailwind
colors: {
  custom: {
    50: '#7c5a9b',
    500: '#431872',
    950: '#000000',
  },
}
SCSS
$custom: #431872;
$custom-light: #7c5a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#431872",
  "rgb": {
    "r": 67,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 268.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33045,
    "c": 0.14355,
    "h": 300.2
  },
  "luminance": 0.03061
}

Semantic roles & 50–950 ramp

primary
#431872
secondary
#75A73E
accent
#E84098
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431872

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

Preview Lab → · Contrast checker → · Palette generator →

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