#431B74#431B74

#431B74 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.142 H 298.9°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#431B74
RGBrgb(67, 27, 116)
HSLhsl(267, 62%, 28%)
HSVhsv(267, 77%, 45%)
CMYKcmyk(42.2%, 76.7%, 0%, 54.5%)
CIE-LABlab(20.97, 38.14, -43.60)
CIE-LCHlch(20.97, 57.93, 311.18°)
OKLaboklab(33.58% 0.0688 -0.1246)
OKLCHoklch(33.58% 0.142 298.9)
XYZxyz(5.8583, 3.2380, 16.8360)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431B74 #4C741B
analogous
#1B2074 #431B74 #6F1B74
triadic
#431B74 #74431B #1B7443
tetradic
#431B74 #741B20 #4C741B #1B746F
square
#431B74 #741B20 #4C741B #1B746F
split-complementary
#431B74 #746F1B #20741B
monochromatic
#0E0619 #260F42 #431B74 #6027A6 #7D39D1

Accessibility & contrast

On white

12.75
#431B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#431B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431B74
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431B74#FFFFFF#000000##FFFFFF
##431B741.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#373246
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #431b74;
/* rgb */ color: rgb(67, 27, 116);
/* oklch */ color: oklch(33.6% 0.142 298.9);
Tailwind
colors: {
  custom: {
    50: '#7c5c9d',
    500: '#431b74',
    950: '#000000',
  },
}
SCSS
$custom: #431b74;
$custom-light: #7c5c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#431b74",
  "rgb": {
    "r": 67,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 266.966,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33583,
    "c": 0.14231,
    "h": 298.9
  },
  "luminance": 0.03238
}

Semantic roles & 50–950 ramp

primary
#431B74
secondary
#7BA942
accent
#E5429C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431B74

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

Preview Lab → · Contrast checker → · Palette generator →

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