#6424A2#6424A2

#6424A2 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.188 H 301.8°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#6424A2
RGBrgb(100, 36, 162)
HSLhsl(270, 64%, 39%)
HSVhsv(270, 78%, 64%)
CMYKcmyk(38.3%, 77.8%, 0%, 36.5%)
CIE-LABlab(30.83, 51.78, -55.99)
CIE-LCHlch(30.83, 76.26, 312.76°)
OKLaboklab(42.72% 0.099 -0.1598)
OKLCHoklch(42.72% 0.188 301.8)
XYZxyz(12.4064, 6.5797, 34.7918)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6424A2 #62A224
analogous
#2524A2 #6424A2 #A224A1
triadic
#6424A2 #A26424 #24A264
tetradic
#6424A2 #A22524 #62A224 #24A1A2
square
#6424A2 #A22524 #62A224 #24A1A2
split-complementary
#6424A2 #A1A224 #24A225
monochromatic
#260E3E #451970 #6424A2 #8332D1 #A164DD

Accessibility & contrast

On white

9.07
#6424A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6424A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6424A2
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6424A2#FFFFFF#000000##FFFFFF
##6424A21.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#0048A0
Tritanopia (blue-blind)
#564562
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6424a2;
/* rgb */ color: rgb(100, 36, 162);
/* oklch */ color: oklch(42.7% 0.188 301.8);
Tailwind
colors: {
  custom: {
    50: '#9666be',
    500: '#6424a2',
    950: '#000000',
  },
}
SCSS
$custom: #6424a2;
$custom-light: #9666be;
$custom-dark: #000000;
JSON
{
  "hex": "#6424a2",
  "rgb": {
    "r": 100,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 270.476,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42718,
    "c": 0.18803,
    "h": 301.8
  },
  "luminance": 0.0658
}

Semantic roles & 50–950 ramp

primary
#6424A2
secondary
#90C260
accent
#E74193
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6424A2

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

Preview Lab → · Contrast checker → · Palette generator →

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