#6431B6#6431B6

#6431B6 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.195 H 295.0°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#6431B6
RGBrgb(100, 49, 182)
HSLhsl(263, 58%, 45%)
HSVhsv(263, 73%, 71%)
CMYKcmyk(45.1%, 73.1%, 0%, 28.6%)
CIE-LABlab(34.57, 51.01, -61.87)
CIE-LCHlch(34.57, 80.18, 309.51°)
OKLaboklab(45.87% 0.0826 -0.1772)
OKLCHoklch(45.87% 0.195 295)
XYZxyz(14.7951, 8.2830, 45.0662)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6431B6 #83B631
analogous
#3140B6 #6431B6 #A731B6
triadic
#6431B6 #B66431 #31B664
tetradic
#6431B6 #B63140 #83B631 #31B6A7
square
#6431B6 #B63140 #83B631 #31B6A7
split-complementary
#6431B6 #B6A731 #40B631
monochromatic
#2F1756 #4A2486 #6431B6 #8353D1 #A684DE

Accessibility & contrast

On white

7.90
#6431B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6431B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6431B6
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6431B6#FFFFFF#000000##FFFFFF
##6431B61.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#4D5471
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6431b6;
/* rgb */ color: rgb(100, 49, 182);
/* oklch */ color: oklch(45.9% 0.195 295.0);
Tailwind
colors: {
  custom: {
    50: '#986ecd',
    500: '#6431b6',
    950: '#000000',
  },
}
SCSS
$custom: #6431b6;
$custom-light: #986ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#6431b6",
  "rgb": {
    "r": 100,
    "g": 49,
    "b": 182
  },
  "hsl": {
    "h": 263.008,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45868,
    "c": 0.19548,
    "h": 295
  },
  "luminance": 0.08283
}

Semantic roles & 50–950 ramp

primary
#6431B6
secondary
#AAC77C
accent
#E147A6
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #6431B6

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

Preview Lab → · Contrast checker → · Palette generator →

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