#6427AF#6427AF

#6427AF is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.1% C 0.199 H 297.9°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#6427AF
RGBrgb(100, 39, 175)
HSLhsl(267, 64%, 42%)
HSVhsv(267, 78%, 69%)
CMYKcmyk(42.9%, 77.7%, 0%, 31.4%)
CIE-LABlab(32.38, 53.73, -61.27)
CIE-LCHlch(32.38, 81.49, 311.25°)
OKLaboklab(44.15% 0.093 -0.1754)
OKLCHoklch(44.15% 0.199 297.9)
XYZxyz(13.7169, 7.2553, 41.2268)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6427AF #72AF27
analogous
#272EAF #6427AF #A827AF
triadic
#6427AF #AF6427 #27AF64
tetradic
#6427AF #AF272E #72AF27 #27AFA8
square
#6427AF #AF272E #72AF27 #27AFA8
split-complementary
#6427AF #AFA827 #2EAF27
monochromatic
#2B114B #471C7D #6427AF #823FD4 #A371DF

Accessibility & contrast

On white

8.57
#6427AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6427AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6427AF
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6427AF#FFFFFF#000000##FFFFFF
##6427AF1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#514C6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6427af;
/* rgb */ color: rgb(100, 39, 175);
/* oklch */ color: oklch(44.1% 0.199 297.9);
Tailwind
colors: {
  custom: {
    50: '#9768c8',
    500: '#6427af',
    950: '#000000',
  },
}
SCSS
$custom: #6427af;
$custom-light: #9768c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6427af",
  "rgb": {
    "r": 100,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 266.912,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44148,
    "c": 0.1985,
    "h": 297.9
  },
  "luminance": 0.07256
}

Semantic roles & 50–950 ramp

primary
#6427AF
secondary
#9EC66B
accent
#E7419C
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6427AF

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

Preview Lab → · Contrast checker → · Palette generator →

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