#431FA7#431FA7

#431FA7 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.197 H 284.8°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#431FA7
RGBrgb(67, 31, 167)
HSLhsl(256, 69%, 39%)
HSVhsv(256, 81%, 65%)
CMYKcmyk(59.9%, 81.4%, 0%, 34.5%)
CIE-LABlab(26.63, 50.54, -66.06)
CIE-LCHlch(26.63, 83.18, 307.42°)
OKLaboklab(39.05% 0.0503 -0.1904)
OKLCHoklch(39.05% 0.197 284.8)
XYZxyz(9.7776, 4.9627, 36.9944)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431FA7 #83A71F
analogous
#1F3FA7 #431FA7 #871FA7
triadic
#431FA7 #A7431F #1FA743
tetradic
#431FA7 #A71F3F #83A71F #1FA787
square
#431FA7 #A71F3F #83A71F #1FA787
split-complementary
#431FA7 #A7871F #3FA71F
monochromatic
#1A0C40 #2E1573 #431FA7 #592BD8 #825FE1

Accessibility & contrast

On white

10.54
#431FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#431FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431FA7
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431FA7#FFFFFF#000000##FFFFFF
##431FA71.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AB
Deuteranopia (green-blind)
#003BA5
Tritanopia (blue-blind)
#014864
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #431fa7;
/* rgb */ color: rgb(67, 31, 167);
/* oklch */ color: oklch(39.0% 0.197 284.8);
Tailwind
colors: {
  custom: {
    50: '#8461c2',
    500: '#431fa7',
    950: '#000000',
  },
}
SCSS
$custom: #431fa7;
$custom-light: #8461c2;
$custom-dark: #000000;
JSON
{
  "hex": "#431fa7",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 255.882,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39047,
    "c": 0.19691,
    "h": 284.8
  },
  "luminance": 0.04963
}

Semantic roles & 50–950 ramp

primary
#431FA7
secondary
#AAC65C
accent
#EC3CBD
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #431FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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