#431E72#431E72

#431E72 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.136 H 299.0°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#431E72
RGBrgb(67, 30, 114)
HSLhsl(266, 58%, 28%)
HSVhsv(266, 74%, 45%)
CMYKcmyk(41.2%, 73.7%, 0%, 55.3%)
CIE-LABlab(21.34, 36.06, -41.71)
CIE-LCHlch(21.34, 55.13, 310.84°)
OKLaboklab(33.79% 0.0661 -0.119)
OKLCHoklch(33.79% 0.136 299)
XYZxyz(5.8155, 3.3367, 16.2540)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431E72 #4D721E
analogous
#1E2372 #431E72 #6D1E72
triadic
#431E72 #72431E #1E7243
tetradic
#431E72 #721E23 #4D721E #1E726D
square
#431E72 #721E23 #4D721E #1E726D
split-complementary
#431E72 #726D1E #23721E
monochromatic
#0E0618 #271142 #431E72 #5F2BA2 #7D3ECC

Accessibility & contrast

On white

12.59
#431E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#431E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431E72
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431E72#FFFFFF#000000##FFFFFF
##431E721.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #431e72;
/* rgb */ color: rgb(67, 30, 114);
/* oklch */ color: oklch(33.8% 0.136 299.0);
Tailwind
colors: {
  custom: {
    50: '#7c5d9b',
    500: '#431e72',
    950: '#000000',
  },
}
SCSS
$custom: #431e72;
$custom-light: #7c5d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#431e72",
  "rgb": {
    "r": 67,
    "g": 30,
    "b": 114
  },
  "hsl": {
    "h": 266.429,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33792,
    "c": 0.13615,
    "h": 299
  },
  "luminance": 0.03337
}

Semantic roles & 50–950 ramp

primary
#431E72
secondary
#7CA646
accent
#E2469D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431E72

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

Preview Lab → · Contrast checker → · Palette generator →

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