#431B72#431B72

#431B72 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.140 H 299.6°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#431B72
RGBrgb(67, 27, 114)
HSLhsl(268, 62%, 28%)
HSVhsv(268, 76%, 45%)
CMYKcmyk(41.2%, 76.3%, 0%, 55.3%)
CIE-LABlab(20.80, 37.60, -42.60)
CIE-LCHlch(20.80, 56.82, 311.43°)
OKLaboklab(33.4% 0.0692 -0.1216)
OKLCHoklch(33.4% 0.14 299.6)
XYZxyz(5.7432, 3.1920, 16.2299)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431B72 #4A721B
analogous
#1B1F72 #431B72 #6E1B72
triadic
#431B72 #72431B #1B7243
tetradic
#431B72 #721B1F #4A721B #1B726E
square
#431B72 #721B1F #4A721B #1B726E
split-complementary
#431B72 #726E1B #1F721B
monochromatic
#0F0619 #260F41 #431B72 #6027A3 #7E38D0

Accessibility & contrast

On white

12.82
#431B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#431B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431B72
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431B72#FFFFFF#000000##FFFFFF
##431B721.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003275
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#383145
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #431b72;
/* rgb */ color: rgb(67, 27, 114);
/* oklch */ color: oklch(33.4% 0.140 299.6);
Tailwind
colors: {
  custom: {
    50: '#7c5b9b',
    500: '#431b72',
    950: '#000000',
  },
}
SCSS
$custom: #431b72;
$custom-light: #7c5b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#431b72",
  "rgb": {
    "r": 67,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 267.586,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33404,
    "c": 0.13997,
    "h": 299.6
  },
  "luminance": 0.03192
}

Semantic roles & 50–950 ramp

primary
#431B72
secondary
#78A742
accent
#E5439A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431B72

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

Preview Lab → · Contrast checker → · Palette generator →

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