#431A7F#431A7F

#431A7F is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.156 H 295.3°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#431A7F
RGBrgb(67, 26, 127)
HSLhsl(264, 66%, 30%)
HSVhsv(264, 80%, 50%)
CMYKcmyk(47.2%, 79.5%, 0%, 50.2%)
CIE-LABlab(21.81, 41.62, -49.24)
CIE-LCHlch(21.81, 64.48, 310.20°)
OKLaboklab(34.49% 0.0667 -0.1411)
OKLCHoklch(34.49% 0.156 295.3)
XYZxyz(6.5139, 3.4642, 20.4000)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431A7F #567F1A
analogous
#1A247F #431A7F #751A7F
triadic
#431A7F #7F431A #1A7F43
tetradic
#431A7F #7F1A24 #567F1A #1A7F75
square
#431A7F #7F1A24 #567F1A #1A7F75
split-complementary
#431A7F #7F751A #247F1A
monochromatic
#0D0519 #28104C #431A7F #5E24B2 #7B3CD7

Accessibility & contrast

On white

12.41
#431A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431A7F
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431A7F#FFFFFF#000000##FFFFFF
##431A7F1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#32364C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #431a7f;
/* rgb */ color: rgb(67, 26, 127);
/* oklch */ color: oklch(34.5% 0.156 295.3);
Tailwind
colors: {
  custom: {
    50: '#7e5ca5',
    500: '#431a7f',
    950: '#000000',
  },
}
SCSS
$custom: #431a7f;
$custom-light: #7e5ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#431a7f",
  "rgb": {
    "r": 67,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 264.356,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.34485,
    "c": 0.15613,
    "h": 295.3
  },
  "luminance": 0.03464
}

Semantic roles & 50–950 ramp

primary
#431A7F
secondary
#85B342
accent
#E93FA4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #431A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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