#431972#431972

#431972 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.142 H 300.0°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#431972
RGBrgb(67, 25, 114)
HSLhsl(268, 64%, 27%)
HSVhsv(268, 78%, 45%)
CMYKcmyk(41.2%, 78.1%, 0%, 55.3%)
CIE-LABlab(20.45, 38.57, -43.16)
CIE-LCHlch(20.45, 57.88, 311.79°)
OKLaboklab(33.16% 0.0712 -0.1233)
OKLCHoklch(33.16% 0.142 300)
XYZxyz(5.6989, 3.1034, 16.2151)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431972 #487219
analogous
#191B72 #431972 #701972
triadic
#431972 #724319 #197243
tetradic
#431972 #72191B #487219 #197270
square
#431972 #72191B #487219 #197270
split-complementary
#431972 #727019 #1B7219
monochromatic
#0F0619 #260E40 #431972 #6124A4 #7E33D2

Accessibility & contrast

On white

12.96
#431972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431972
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431972#FFFFFF#000000##FFFFFF
##4319721.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003175
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#383044
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #431972;
/* rgb */ color: rgb(67, 25, 114);
/* oklch */ color: oklch(33.2% 0.142 300.0);
Tailwind
colors: {
  custom: {
    50: '#7c5a9b',
    500: '#431972',
    950: '#000000',
  },
}
SCSS
$custom: #431972;
$custom-light: #7c5a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#431972",
  "rgb": {
    "r": 67,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 268.315,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33161,
    "c": 0.14239,
    "h": 300
  },
  "luminance": 0.03103
}

Semantic roles & 50–950 ramp

primary
#431972
secondary
#76A740
accent
#E74199
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431972

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

Preview Lab → · Contrast checker → · Palette generator →

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