#431A79#431A79

#431A79 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.149 H 297.3°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#431A79
RGBrgb(67, 26, 121)
HSLhsl(266, 65%, 29%)
HSVhsv(266, 79%, 47%)
CMYKcmyk(44.6%, 78.5%, 0%, 52.5%)
CIE-LABlab(21.25, 39.98, -46.35)
CIE-LCHlch(21.25, 61.21, 310.79°)
OKLaboklab(33.92% 0.0685 -0.1326)
OKLCHoklch(33.92% 0.149 297.3)
XYZxyz(6.1344, 3.3124, 18.4016)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431A79 #50791A
analogous
#1A2179 #431A79 #731A79
triadic
#431A79 #79431A #1A7943
tetradic
#431A79 #791A21 #50791A #1A7973
square
#431A79 #791A21 #50791A #1A7973
split-complementary
#431A79 #79731A #21791A
monochromatic
#0E0519 #270F47 #431A79 #5F25AB #7C39D4

Accessibility & contrast

On white

12.63
#431A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431A79
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431A79#FFFFFF#000000##FFFFFF
##431A791.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#353348
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #431a79;
/* rgb */ color: rgb(67, 26, 121);
/* oklch */ color: oklch(33.9% 0.149 297.3);
Tailwind
colors: {
  custom: {
    50: '#7d5ba1',
    500: '#431a79',
    950: '#000000',
  },
}
SCSS
$custom: #431a79;
$custom-light: #7d5ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#431a79",
  "rgb": {
    "r": 67,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 265.895,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3392,
    "c": 0.14926,
    "h": 297.3
  },
  "luminance": 0.03313
}

Semantic roles & 50–950 ramp

primary
#431A79
secondary
#7FAD41
accent
#E8409F
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #431A79

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

Preview Lab → · Contrast checker → · Palette generator →

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