#431D72#431D72

#431D72 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.137 H 299.2°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#431D72
RGBrgb(67, 29, 114)
HSLhsl(267, 59%, 28%)
HSVhsv(267, 75%, 45%)
CMYKcmyk(41.2%, 74.6%, 0%, 55.3%)
CIE-LABlab(21.16, 36.58, -42.01)
CIE-LCHlch(21.16, 55.70, 311.05°)
OKLaboklab(33.66% 0.0672 -0.1199)
OKLCHoklch(33.66% 0.137 299.2)
XYZxyz(5.7906, 3.2869, 16.2457)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431D72 #4C721D
analogous
#1D2172 #431D72 #6E1D72
triadic
#431D72 #72431D #1D7243
tetradic
#431D72 #721D21 #4C721D #1D726E
square
#431D72 #721D21 #4C721D #1D726E
split-complementary
#431D72 #726E1D #21721D
monochromatic
#0E0618 #261141 #431D72 #6029A3 #7D3CCD

Accessibility & contrast

On white

12.67
#431D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#431D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431D72
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431D72#FFFFFF#000000##FFFFFF
##431D721.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003374
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#383245
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #431d72;
/* rgb */ color: rgb(67, 29, 114);
/* oklch */ color: oklch(33.7% 0.137 299.2);
Tailwind
colors: {
  custom: {
    50: '#7c5d9b',
    500: '#431d72',
    950: '#000000',
  },
}
SCSS
$custom: #431d72;
$custom-light: #7c5d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#431d72",
  "rgb": {
    "r": 67,
    "g": 29,
    "b": 114
  },
  "hsl": {
    "h": 266.824,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33659,
    "c": 0.13746,
    "h": 299.2
  },
  "luminance": 0.03287
}

Semantic roles & 50–950 ramp

primary
#431D72
secondary
#7BA645
accent
#E3459C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431D72

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

Preview Lab → · Contrast checker → · Palette generator →

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