#431977#431977

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

Color values

HEX#431977
RGBrgb(67, 25, 119)
HSLhsl(267, 65%, 28%)
HSVhsv(267, 79%, 47%)
CMYKcmyk(43.7%, 79%, 0%, 53.3%)
CIE-LABlab(20.91, 39.91, -45.64)
CIE-LCHlch(20.91, 60.63, 311.17°)
OKLaboklab(33.62% 0.0699 -0.1305)
OKLCHoklch(33.62% 0.148 298.2)
XYZxyz(5.9913, 3.2204, 17.7551)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431977 #4D7719
analogous
#191E77 #431977 #721977
triadic
#431977 #774319 #197743
tetradic
#431977 #77191E #4D7719 #197772
square
#431977 #77191E #4D7719 #197772
split-complementary
#431977 #777219 #1E7719
monochromatic
#0E0519 #270E44 #431977 #5F24AA #7D36D5

Accessibility & contrast

On white

12.77
#431977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431977
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431977#FFFFFF#000000##FFFFFF
##4319771.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #431977;
/* rgb */ color: rgb(67, 25, 119);
/* oklch */ color: oklch(33.6% 0.148 298.2);
Tailwind
colors: {
  custom: {
    50: '#7d5b9f',
    500: '#431977',
    950: '#000000',
  },
}
SCSS
$custom: #431977;
$custom-light: #7d5b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#431977",
  "rgb": {
    "r": 67,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 266.809,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33619,
    "c": 0.14809,
    "h": 298.2
  },
  "luminance": 0.0322
}

Semantic roles & 50–950 ramp

primary
#431977
secondary
#7CAC40
accent
#E8409D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #431977

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

Preview Lab → · Contrast checker → · Palette generator →

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