#431C72#431C72

#431C72 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.139 H 299.5°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#431C72
RGBrgb(67, 28, 114)
HSLhsl(267, 61%, 28%)
HSVhsv(267, 75%, 45%)
CMYKcmyk(41.2%, 75.4%, 0%, 55.3%)
CIE-LABlab(20.98, 37.09, -42.31)
CIE-LCHlch(20.98, 56.27, 311.24°)
OKLaboklab(33.53% 0.0682 -0.1208)
OKLCHoklch(33.53% 0.139 299.5)
XYZxyz(5.7665, 3.2386, 16.2376)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431C72 #4B721C
analogous
#1C2072 #431C72 #6E1C72
triadic
#431C72 #72431C #1C7243
tetradic
#431C72 #721C20 #4B721C #1C726E
square
#431C72 #721C20 #4B721C #1C726E
split-complementary
#431C72 #726E1C #20721C
monochromatic
#0E0619 #261041 #431C72 #6028A3 #7D3ACF

Accessibility & contrast

On white

12.74
#431C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#431C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431C72
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431C72#FFFFFF#000000##FFFFFF
##431C721.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003274
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#383145
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #431c72;
/* rgb */ color: rgb(67, 28, 114);
/* oklch */ color: oklch(33.5% 0.139 299.5);
Tailwind
colors: {
  custom: {
    50: '#7c5c9b',
    500: '#431c72',
    950: '#000000',
  },
}
SCSS
$custom: #431c72;
$custom-light: #7c5c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#431c72",
  "rgb": {
    "r": 67,
    "g": 28,
    "b": 114
  },
  "hsl": {
    "h": 267.209,
    "s": 60.563,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3353,
    "c": 0.13873,
    "h": 299.5
  },
  "luminance": 0.03239
}

Semantic roles & 50–950 ramp

primary
#431C72
secondary
#7AA643
accent
#E4449B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431C72

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

Preview Lab → · Contrast checker → · Palette generator →

#431C72 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva