#6431B2#6431B2

#6431B2 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.191 H 295.9°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#6431B2
RGBrgb(100, 49, 178)
HSLhsl(264, 57%, 45%)
HSVhsv(264, 72%, 70%)
CMYKcmyk(43.8%, 72.5%, 0%, 30.2%)
CIE-LABlab(34.23, 49.96, -60.04)
CIE-LCHlch(34.23, 78.10, 309.76°)
OKLaboklab(45.53% 0.0835 -0.1718)
OKLCHoklch(45.53% 0.191 295.9)
XYZxyz(14.3876, 8.1200, 42.9201)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6431B2 #7FB231
analogous
#313FB2 #6431B2 #A531B2
triadic
#6431B2 #B26431 #31B264
tetradic
#6431B2 #B2313F #7FB231 #31B2A5
square
#6431B2 #B2313F #7FB231 #31B2A5
split-complementary
#6431B2 #B2A531 #3FB231
monochromatic
#2E1752 #492482 #6431B2 #8351CF #A581DC

Accessibility & contrast

On white

8.00
#6431B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6431B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6431B2
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6431B2#FFFFFF#000000##FFFFFF
##6431B21.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#004FAF
Tritanopia (blue-blind)
#4F526E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6431b2;
/* rgb */ color: rgb(100, 49, 178);
/* oklch */ color: oklch(45.5% 0.191 295.9);
Tailwind
colors: {
  custom: {
    50: '#976eca',
    500: '#6431b2',
    950: '#000000',
  },
}
SCSS
$custom: #6431b2;
$custom-light: #976eca;
$custom-dark: #000000;
JSON
{
  "hex": "#6431b2",
  "rgb": {
    "r": 100,
    "g": 49,
    "b": 178
  },
  "hsl": {
    "h": 263.721,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45529,
    "c": 0.19101,
    "h": 295.9
  },
  "luminance": 0.0812
}

Semantic roles & 50–950 ramp

primary
#6431B2
secondary
#A7C579
accent
#E048A4
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6431B2

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

Preview Lab → · Contrast checker → · Palette generator →

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