#431FAB#431FAB

#431FAB is a dark, highly saturated violet. Relative luminance 0.051; OKLCH L 39.5% C 0.201 H 284.1°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#431FAB
RGBrgb(67, 31, 171)
HSLhsl(255, 69%, 40%)
HSVhsv(255, 82%, 67%)
CMYKcmyk(60.8%, 81.9%, 0%, 32.9%)
CIE-LABlab(27.05, 51.66, -67.77)
CIE-LCHlch(27.05, 85.22, 307.32°)
OKLaboklab(39.47% 0.0489 -0.1954)
OKLCHoklch(39.47% 0.201 284.1)
XYZxyz(10.1531, 5.1129, 38.9720)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431FAB #87AB1F
analogous
#1F41AB #431FAB #891FAB
triadic
#431FAB #AB431F #1FAB43
tetradic
#431FAB #AB1F41 #87AB1F #1FAB89
square
#431FAB #AB1F41 #87AB1F #1FAB89
split-complementary
#431FAB #AB891F #41AB1F
monochromatic
#1A0C43 #2F1677 #431FAB #5A2ED9 #8362E3

Accessibility & contrast

On white

10.38
#431FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#431FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431FAB
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431FAB#FFFFFF#000000##FFFFFF
##431FAB1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AF
Deuteranopia (green-blind)
#003BA9
Tritanopia (blue-blind)
#004A66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #431fab;
/* rgb */ color: rgb(67, 31, 171);
/* oklch */ color: oklch(39.5% 0.201 284.1);
Tailwind
colors: {
  custom: {
    50: '#8561c5',
    500: '#431fab',
    950: '#000000',
  },
}
SCSS
$custom: #431fab;
$custom-light: #8561c5;
$custom-dark: #000000;
JSON
{
  "hex": "#431fab",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 171
  },
  "hsl": {
    "h": 255.429,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39467,
    "c": 0.2014,
    "h": 284.1
  },
  "luminance": 0.05114
}

Semantic roles & 50–950 ramp

primary
#431FAB
secondary
#ACC75E
accent
#EC3CBF
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #431FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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