#431B7C#431B7C

#431B7C is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.152 H 296.1°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#431B7C
RGBrgb(67, 27, 124)
HSLhsl(265, 64%, 30%)
HSVhsv(265, 78%, 49%)
CMYKcmyk(46%, 78.2%, 0%, 51.4%)
CIE-LABlab(21.70, 40.33, -47.53)
CIE-LCHlch(21.70, 62.33, 310.31°)
OKLaboklab(34.32% 0.0667 -0.1361)
OKLCHoklch(34.32% 0.152 296.1)
XYZxyz(6.3438, 3.4322, 19.3931)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431B7C #547C1B
analogous
#1B247C #431B7C #731B7C
triadic
#431B7C #7C431B #1B7C43
tetradic
#431B7C #7C1B24 #547C1B #1B7C73
square
#431B7C #7C1B24 #547C1B #1B7C73
split-complementary
#431B7C #7C731B #247C1B
monochromatic
#0E0519 #28104A #431B7C #5E26AE #7B3DD5

Accessibility & contrast

On white

12.45
#431B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431B7C
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431B7C#FFFFFF#000000##FFFFFF
##431B7C1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#33354A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #431b7c;
/* rgb */ color: rgb(67, 27, 124);
/* oklch */ color: oklch(34.3% 0.152 296.1);
Tailwind
colors: {
  custom: {
    50: '#7d5ca3',
    500: '#431b7c',
    950: '#000000',
  },
}
SCSS
$custom: #431b7c;
$custom-light: #7d5ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#431b7c",
  "rgb": {
    "r": 67,
    "g": 27,
    "b": 124
  },
  "hsl": {
    "h": 264.742,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34317,
    "c": 0.1516,
    "h": 296.1
  },
  "luminance": 0.03432
}

Semantic roles & 50–950 ramp

primary
#431B7C
secondary
#83B043
accent
#E741A3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #431B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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