#6431AD#6431AD

#6431AD is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.185 H 297.1°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#6431AD
RGBrgb(100, 49, 173)
HSLhsl(265, 56%, 44%)
HSVhsv(265, 72%, 68%)
CMYKcmyk(42.2%, 71.7%, 0%, 32.2%)
CIE-LABlab(33.82, 48.65, -57.73)
CIE-LCHlch(33.82, 75.49, 310.12°)
OKLaboklab(45.11% 0.0845 -0.165)
OKLCHoklch(45.11% 0.185 297.1)
XYZxyz(13.8947, 7.9228, 40.3243)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6431AD #7AAD31
analogous
#313CAD #6431AD #A231AD
triadic
#6431AD #AD6431 #31AD64
tetradic
#6431AD #AD313C #7AAD31 #31ADA2
square
#6431AD #AD313C #7AAD31 #31ADA2
split-complementary
#6431AD #ADA231 #3CAD31
monochromatic
#2D164E #48237D #6431AD #824ECD #A47EDA

Accessibility & contrast

On white

8.13
#6431AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6431AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6431AD
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6431AD#FFFFFF#000000##FFFFFF
##6431AD1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B1
Deuteranopia (green-blind)
#004EAB
Tritanopia (blue-blind)
#51506C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6431ad;
/* rgb */ color: rgb(100, 49, 173);
/* oklch */ color: oklch(45.1% 0.185 297.1);
Tailwind
colors: {
  custom: {
    50: '#976dc6',
    500: '#6431ad',
    950: '#000000',
  },
}
SCSS
$custom: #6431ad;
$custom-light: #976dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6431ad",
  "rgb": {
    "r": 100,
    "g": 49,
    "b": 173
  },
  "hsl": {
    "h": 264.677,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45111,
    "c": 0.18539,
    "h": 297.1
  },
  "luminance": 0.07923
}

Semantic roles & 50–950 ramp

primary
#6431AD
secondary
#A4C377
accent
#DF49A1
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6431AD

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

Preview Lab → · Contrast checker → · Palette generator →

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