#6427B1#6427B1

#6427B1 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.3% C 0.201 H 297.4°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#6427B1
RGBrgb(100, 39, 177)
HSLhsl(267, 64%, 42%)
HSVhsv(267, 78%, 69%)
CMYKcmyk(43.5%, 78%, 0%, 30.6%)
CIE-LABlab(32.56, 54.23, -62.18)
CIE-LCHlch(32.56, 82.50, 311.09°)
OKLaboklab(44.32% 0.0924 -0.178)
OKLCHoklch(44.32% 0.201 297.4)
XYZxyz(13.9148, 7.3344, 42.2690)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6427B1 #74B127
analogous
#272FB1 #6427B1 #A927B1
triadic
#6427B1 #B16427 #27B164
tetradic
#6427B1 #B1272F #74B127 #27B1A9
square
#6427B1 #B1272F #74B127 #27B1A9
split-complementary
#6427B1 #B1A927 #2FB127
monochromatic
#2B114D #481C7F #6427B1 #8240D5 #A372E0

Accessibility & contrast

On white

8.51
#6427B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6427B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6427B1
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6427B1#FFFFFF#000000##FFFFFF
##6427B11.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#004BAE
Tritanopia (blue-blind)
#504D6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6427b1;
/* rgb */ color: rgb(100, 39, 177);
/* oklch */ color: oklch(44.3% 0.201 297.4);
Tailwind
colors: {
  custom: {
    50: '#9868c9',
    500: '#6427b1',
    950: '#000000',
  },
}
SCSS
$custom: #6427b1;
$custom-light: #9868c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6427b1",
  "rgb": {
    "r": 100,
    "g": 39,
    "b": 177
  },
  "hsl": {
    "h": 266.522,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44324,
    "c": 0.2006,
    "h": 297.4
  },
  "luminance": 0.07335
}

Semantic roles & 50–950 ramp

primary
#6427B1
secondary
#9FC76D
accent
#E7419E
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6427B1

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

Preview Lab → · Contrast checker → · Palette generator →

#6427B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva