#6427A2#6427A2

#6427A2 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.185 H 301.4°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#6427A2
RGBrgb(100, 39, 162)
HSLhsl(270, 61%, 39%)
HSVhsv(270, 76%, 64%)
CMYKcmyk(38.3%, 75.9%, 0%, 36.5%)
CIE-LABlab(31.27, 50.50, -55.26)
CIE-LCHlch(31.27, 74.87, 312.42°)
OKLaboklab(43.03% 0.0964 -0.1577)
OKLCHoklch(43.03% 0.185 301.4)
XYZxyz(12.5010, 6.7689, 34.8233)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6427A2 #65A227
analogous
#2728A2 #6427A2 #A227A2
triadic
#6427A2 #A26427 #27A264
tetradic
#6427A2 #A22728 #65A227 #27A2A2
square
#6427A2 #A22728 #65A227 #27A2A2
split-complementary
#6427A2 #A2A227 #28A227
monochromatic
#270F3F #461B71 #6427A2 #8237CF #A169DB

Accessibility & contrast

On white

8.92
#6427A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6427A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6427A2
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6427A2#FFFFFF#000000##FFFFFF
##6427A21.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#564763
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6427a2;
/* rgb */ color: rgb(100, 39, 162);
/* oklch */ color: oklch(43.0% 0.185 301.4);
Tailwind
colors: {
  custom: {
    50: '#9668be',
    500: '#6427a2',
    950: '#000000',
  },
}
SCSS
$custom: #6427a2;
$custom-light: #9668be;
$custom-dark: #000000;
JSON
{
  "hex": "#6427a2",
  "rgb": {
    "r": 100,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 269.756,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4303,
    "c": 0.18483,
    "h": 301.4
  },
  "luminance": 0.06769
}

Semantic roles & 50–950 ramp

primary
#6427A2
secondary
#93C164
accent
#E44395
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6427A2

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

Preview Lab → · Contrast checker → · Palette generator →

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