#431A7A#431A7A

#431A7A is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.150 H 297.0°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#431A7A
RGBrgb(67, 26, 122)
HSLhsl(266, 65%, 29%)
HSVhsv(266, 79%, 48%)
CMYKcmyk(45.1%, 78.7%, 0%, 52.2%)
CIE-LABlab(21.35, 40.26, -46.83)
CIE-LCHlch(21.35, 61.76, 310.68°)
OKLaboklab(34.01% 0.0682 -0.1341)
OKLCHoklch(34.01% 0.15 297)
XYZxyz(6.1961, 3.3371, 18.7263)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431A7A #517A1A
analogous
#1A217A #431A7A #731A7A
triadic
#431A7A #7A431A #1A7A43
tetradic
#431A7A #7A1A21 #517A1A #1A7A73
square
#431A7A #7A1A21 #517A1A #1A7A73
split-complementary
#431A7A #7A731A #217A1A
monochromatic
#0E0519 #270F48 #431A7A #5F25AC #7C39D5

Accessibility & contrast

On white

12.59
#431A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#431A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431A7A
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431A7A#FFFFFF#000000##FFFFFF
##431A7A1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#343449
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #431a7a;
/* rgb */ color: rgb(67, 26, 122);
/* oklch */ color: oklch(34.0% 0.150 297.0);
Tailwind
colors: {
  custom: {
    50: '#7d5ba1',
    500: '#431a7a',
    950: '#000000',
  },
}
SCSS
$custom: #431a7a;
$custom-light: #7d5ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#431a7a",
  "rgb": {
    "r": 67,
    "g": 26,
    "b": 122
  },
  "hsl": {
    "h": 265.625,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34014,
    "c": 0.15041,
    "h": 297
  },
  "luminance": 0.03337
}

Semantic roles & 50–950 ramp

primary
#431A7A
secondary
#80AE41
accent
#E840A0
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #431A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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