#6431AF#6431AF

#6431AF is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.188 H 296.6°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#6431AF
RGBrgb(100, 49, 175)
HSLhsl(264, 56%, 44%)
HSVhsv(264, 72%, 69%)
CMYKcmyk(42.9%, 72%, 0%, 31.4%)
CIE-LABlab(33.98, 49.17, -58.65)
CIE-LCHlch(33.98, 76.54, 309.97°)
OKLaboklab(45.28% 0.0841 -0.1677)
OKLCHoklch(45.28% 0.188 296.6)
XYZxyz(14.0897, 8.0008, 41.3511)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6431AF #7CAF31
analogous
#313DAF #6431AF #A331AF
triadic
#6431AF #AF6431 #31AF64
tetradic
#6431AF #AF313D #7CAF31 #31AFA3
square
#6431AF #AF313D #7CAF31 #31AFA3
split-complementary
#6431AF #AFA331 #3DAF31
monochromatic
#2D164F #49247F #6431AF #834FCE #A47FDB

Accessibility & contrast

On white

8.08
#6431AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6431AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6431AF
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6431AF#FFFFFF#000000##FFFFFF
##6431AF1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#50516D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6431af;
/* rgb */ color: rgb(100, 49, 175);
/* oklch */ color: oklch(45.3% 0.188 296.6);
Tailwind
colors: {
  custom: {
    50: '#976ec8',
    500: '#6431af',
    950: '#000000',
  },
}
SCSS
$custom: #6431af;
$custom-light: #976ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#6431af",
  "rgb": {
    "r": 100,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 264.286,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45277,
    "c": 0.18764,
    "h": 296.6
  },
  "luminance": 0.08001
}

Semantic roles & 50–950 ramp

primary
#6431AF
secondary
#A5C478
accent
#E048A2
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6431AF

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

Preview Lab → · Contrast checker → · Palette generator →

#6431AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva