#431579#431579

#431579 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.155 H 298.1°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#431579
RGBrgb(67, 21, 121)
HSLhsl(268, 70%, 28%)
HSVhsv(268, 83%, 47%)
CMYKcmyk(44.6%, 82.6%, 0%, 52.5%)
CIE-LABlab(20.48, 42.21, -47.61)
CIE-LCHlch(20.48, 63.63, 311.56°)
OKLaboklab(33.38% 0.0728 -0.1363)
OKLCHoklch(33.38% 0.155 298.1)
XYZxyz(6.0332, 3.1100, 18.3679)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431579 #4B7915
analogous
#151979 #431579 #751579
triadic
#431579 #794315 #157943
tetradic
#431579 #791519 #4B7915 #157975
square
#431579 #791519 #4B7915 #157975
split-complementary
#431579 #797515 #197915
monochromatic
#0E051A #260C45 #431579 #601EAD #7D2EDB

Accessibility & contrast

On white

12.95
#431579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#431579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431579
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431579#FFFFFF#000000##FFFFFF
##4315791.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#003077
Tritanopia (blue-blind)
#353147
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #431579;
/* rgb */ color: rgb(67, 21, 121);
/* oklch */ color: oklch(33.4% 0.155 298.1);
Tailwind
colors: {
  custom: {
    50: '#7d59a1',
    500: '#431579',
    950: '#000000',
  },
}
SCSS
$custom: #431579;
$custom-light: #7d59a1;
$custom-dark: #000000;
JSON
{
  "hex": "#431579",
  "rgb": {
    "r": 67,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 267.6,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33379,
    "c": 0.15452,
    "h": 298.1
  },
  "luminance": 0.0311
}

Semantic roles & 50–950 ramp

primary
#431579
secondary
#7AAF3B
accent
#ED3B9B
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #431579

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

Preview Lab → · Contrast checker → · Palette generator →

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