#431A7C#431A7C

#431A7C is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.153 H 296.3°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#431A7C
RGBrgb(67, 26, 124)
HSLhsl(265, 65%, 29%)
HSVhsv(265, 79%, 49%)
CMYKcmyk(46%, 79%, 0%, 51.4%)
CIE-LABlab(21.53, 40.80, -47.80)
CIE-LCHlch(21.53, 62.85, 310.48°)
OKLaboklab(34.2% 0.0676 -0.1369)
OKLCHoklch(34.2% 0.153 296.3)
XYZxyz(6.3213, 3.3872, 19.3856)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431A7C #537C1A
analogous
#1A227C #431A7C #741A7C
triadic
#431A7C #7C431A #1A7C43
tetradic
#431A7C #7C1A22 #537C1A #1A7C74
square
#431A7C #7C1A22 #537C1A #1A7C74
split-complementary
#431A7C #7C741A #227C1A
monochromatic
#0E0519 #280F49 #431A7C #5E25AF #7C3BD6

Accessibility & contrast

On white

12.52
#431A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#431A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431A7C
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431A7C#FFFFFF#000000##FFFFFF
##431A7C1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#33344A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #431a7c;
/* rgb */ color: rgb(67, 26, 124);
/* oklch */ color: oklch(34.2% 0.153 296.3);
Tailwind
colors: {
  custom: {
    50: '#7d5ba3',
    500: '#431a7c',
    950: '#000000',
  },
}
SCSS
$custom: #431a7c;
$custom-light: #7d5ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#431a7c",
  "rgb": {
    "r": 67,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 265.102,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34201,
    "c": 0.1527,
    "h": 296.3
  },
  "luminance": 0.03387
}

Semantic roles & 50–950 ramp

primary
#431A7C
secondary
#82B042
accent
#E840A2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #431A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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