#431A7E#431A7E

#431A7E is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.155 H 295.6°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#431A7E
RGBrgb(67, 26, 126)
HSLhsl(265, 66%, 30%)
HSVhsv(265, 79%, 49%)
CMYKcmyk(46.8%, 79.4%, 0%, 50.6%)
CIE-LABlab(21.72, 41.35, -48.77)
CIE-LCHlch(21.72, 63.93, 310.29°)
OKLaboklab(34.39% 0.067 -0.1398)
OKLCHoklch(34.39% 0.155 295.6)
XYZxyz(6.4490, 3.4383, 20.0585)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431A7E #557E1A
analogous
#1A237E #431A7E #751A7E
triadic
#431A7E #7E431A #1A7E43
tetradic
#431A7E #7E1A23 #557E1A #1A7E75
square
#431A7E #7E1A23 #557E1A #1A7E75
split-complementary
#431A7E #7E751A #237E1A
monochromatic
#0D0519 #28104B #431A7E #5E24B1 #7B3CD7

Accessibility & contrast

On white

12.44
#431A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#431A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431A7E
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431A7E#FFFFFF#000000##FFFFFF
##431A7E1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#32354B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #431a7e;
/* rgb */ color: rgb(67, 26, 126);
/* oklch */ color: oklch(34.4% 0.155 295.6);
Tailwind
colors: {
  custom: {
    50: '#7e5ca4',
    500: '#431a7e',
    950: '#000000',
  },
}
SCSS
$custom: #431a7e;
$custom-light: #7e5ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#431a7e",
  "rgb": {
    "r": 67,
    "g": 26,
    "b": 126
  },
  "hsl": {
    "h": 264.6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3439,
    "c": 0.15499,
    "h": 295.6
  },
  "luminance": 0.03438
}

Semantic roles & 50–950 ramp

primary
#431A7E
secondary
#84B242
accent
#E93FA3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #431A7E

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

Preview Lab → · Contrast checker → · Palette generator →

#431A7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva