#431A74#431A74

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

Color values

HEX#431A74
RGBrgb(67, 26, 116)
HSLhsl(267, 63%, 28%)
HSVhsv(267, 78%, 45%)
CMYKcmyk(42.2%, 77.6%, 0%, 54.5%)
CIE-LABlab(20.80, 38.63, -43.88)
CIE-LCHlch(20.80, 58.46, 311.36°)
OKLaboklab(33.46% 0.0698 -0.1254)
OKLCHoklch(33.46% 0.144 299.1)
XYZxyz(5.8357, 3.1930, 16.8285)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431A74 #4B741A
analogous
#1A1E74 #431A74 #701A74
triadic
#431A74 #74431A #1A7443
tetradic
#431A74 #741A1E #4B741A #1A7470
square
#431A74 #741A1E #4B741A #1A7470
split-complementary
#431A74 #74701A #1E741A
monochromatic
#0E0619 #260F42 #431A74 #6025A6 #7D36D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##431A74#FFFFFF#000000##FFFFFF
##431A741.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)
#003277
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#373146
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #431a74;
/* rgb */ color: rgb(67, 26, 116);
/* oklch */ color: oklch(33.5% 0.144 299.1);
Tailwind
colors: {
  custom: {
    50: '#7c5b9d',
    500: '#431a74',
    950: '#000000',
  },
}
SCSS
$custom: #431a74;
$custom-light: #7c5b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#431a74",
  "rgb": {
    "r": 67,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 267.333,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33461,
    "c": 0.14351,
    "h": 299.1
  },
  "luminance": 0.03193
}

Semantic roles & 50–950 ramp

primary
#431A74
secondary
#7AA941
accent
#E6419B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431A74

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

Preview Lab → · Contrast checker → · Palette generator →

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