#6431B8#6431B8

#6431B8 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.198 H 294.5°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#6431B8
RGBrgb(100, 49, 184)
HSLhsl(263, 58%, 46%)
HSVhsv(263, 73%, 72%)
CMYKcmyk(45.7%, 73.4%, 0%, 27.8%)
CIE-LABlab(34.73, 51.54, -62.77)
CIE-LCHlch(34.73, 81.22, 309.39°)
OKLaboklab(46.04% 0.0821 -0.1798)
OKLCHoklch(46.04% 0.198 294.5)
XYZxyz(15.0032, 8.3662, 46.1625)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6431B8 #85B831
analogous
#3141B8 #6431B8 #A731B8
triadic
#6431B8 #B86431 #31B864
tetradic
#6431B8 #B83141 #85B831 #31B8A7
square
#6431B8 #B83141 #85B831 #31B8A7
split-complementary
#6431B8 #B8A731 #41B831
monochromatic
#2F1757 #4A2488 #6431B8 #8455D2 #A785DE

Accessibility & contrast

On white

7.86
#6431B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6431B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6431B8
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6431B8#FFFFFF#000000##FFFFFF
##6431B81.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#004FB5
Tritanopia (blue-blind)
#4C5472
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6431b8;
/* rgb */ color: rgb(100, 49, 184);
/* oklch */ color: oklch(46.0% 0.198 294.5);
Tailwind
colors: {
  custom: {
    50: '#986ece',
    500: '#6431b8',
    950: '#000000',
  },
}
SCSS
$custom: #6431b8;
$custom-light: #986ece;
$custom-dark: #000000;
JSON
{
  "hex": "#6431b8",
  "rgb": {
    "r": 100,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 262.667,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4604,
    "c": 0.19772,
    "h": 294.5
  },
  "luminance": 0.08367
}

Semantic roles & 50–950 ramp

primary
#6431B8
secondary
#ACC87D
accent
#E147A7
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0714
muted
#7E7A82

Preview Lab

Preview with #6431B8

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

Preview Lab → · Contrast checker → · Palette generator →

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