#431777#431777

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

Color values

HEX#431777
RGBrgb(67, 23, 119)
HSLhsl(268, 68%, 28%)
HSVhsv(268, 81%, 47%)
CMYKcmyk(43.7%, 80.7%, 0%, 53.3%)
CIE-LABlab(20.59, 40.83, -46.16)
CIE-LCHlch(20.59, 61.62, 311.49°)
OKLaboklab(33.4% 0.0717 -0.1321)
OKLCHoklch(33.4% 0.15 298.5)
XYZxyz(5.9501, 3.1379, 17.7414)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431777 #4B7717
analogous
#171B77 #431777 #731777
triadic
#431777 #774317 #177743
tetradic
#431777 #77171B #4B7717 #177773
square
#431777 #77171B #4B7717 #177773
split-complementary
#431777 #777317 #1B7717
monochromatic
#0E051A #260D44 #431777 #6021AA #7D31D7

Accessibility & contrast

On white

12.90
#431777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#431777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431777
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431777#FFFFFF#000000##FFFFFF
##4317771.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327A
Deuteranopia (green-blind)
#003175
Tritanopia (blue-blind)
#363147
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #431777;
/* rgb */ color: rgb(67, 23, 119);
/* oklch */ color: oklch(33.4% 0.150 298.5);
Tailwind
colors: {
  custom: {
    50: '#7d5a9f',
    500: '#431777',
    950: '#000000',
  },
}
SCSS
$custom: #431777;
$custom-light: #7d5a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#431777",
  "rgb": {
    "r": 67,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 267.5,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33397,
    "c": 0.15027,
    "h": 298.5
  },
  "luminance": 0.03138
}

Semantic roles & 50–950 ramp

primary
#431777
secondary
#7AAC3E
accent
#EA3D9B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #431777

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

Preview Lab → · Contrast checker → · Palette generator →

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