#431779#431779

#431779 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.153 H 297.8°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#431779
RGBrgb(67, 23, 121)
HSLhsl(267, 68%, 28%)
HSVhsv(267, 81%, 47%)
CMYKcmyk(44.6%, 81%, 0%, 52.5%)
CIE-LABlab(20.78, 41.36, -47.13)
CIE-LCHlch(20.78, 62.70, 311.27°)
OKLaboklab(33.59% 0.0711 -0.1349)
OKLCHoklch(33.59% 0.153 297.8)
XYZxyz(6.0714, 3.1865, 18.3806)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431779 #4D7917
analogous
#171C79 #431779 #741779
triadic
#431779 #794317 #177943
tetradic
#431779 #79171C #4D7917 #177974
square
#431779 #79171C #4D7917 #177974
split-complementary
#431779 #797417 #1C7917
monochromatic
#0E051A #270D46 #431779 #5F21AC #7D32D8

Accessibility & contrast

On white

12.83
#431779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#431779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431779
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431779#FFFFFF#000000##FFFFFF
##4317791.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#353248
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #431779;
/* rgb */ color: rgb(67, 23, 121);
/* oklch */ color: oklch(33.6% 0.153 297.8);
Tailwind
colors: {
  custom: {
    50: '#7d5aa1',
    500: '#431779',
    950: '#000000',
  },
}
SCSS
$custom: #431779;
$custom-light: #7d5aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#431779",
  "rgb": {
    "r": 67,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 266.939,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33586,
    "c": 0.15251,
    "h": 297.8
  },
  "luminance": 0.03187
}

Semantic roles & 50–950 ramp

primary
#431779
secondary
#7CAE3E
accent
#EB3D9D
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #431779

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

Preview Lab → · Contrast checker → · Palette generator →

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