#6425A2#6425A2

#6425A2 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.187 H 301.7°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#6425A2
RGBrgb(100, 37, 162)
HSLhsl(270, 63%, 39%)
HSVhsv(270, 77%, 64%)
CMYKcmyk(38.3%, 77.2%, 0%, 36.5%)
CIE-LABlab(30.98, 51.36, -55.75)
CIE-LCHlch(30.98, 75.81, 312.65°)
OKLaboklab(42.82% 0.0982 -0.1592)
OKLCHoklch(42.82% 0.187 301.7)
XYZxyz(12.4371, 6.6410, 34.8020)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6425A2 #63A225
analogous
#2625A2 #6425A2 #A225A2
triadic
#6425A2 #A26425 #25A264
tetradic
#6425A2 #A22625 #63A225 #25A2A2
square
#6425A2 #A22625 #63A225 #25A2A2
split-complementary
#6425A2 #A2A225 #25A226
monochromatic
#260E3E #451A70 #6425A2 #8334D1 #A165DC

Accessibility & contrast

On white

9.02
#6425A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6425A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6425A2
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6425A2#FFFFFF#000000##FFFFFF
##6425A21.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6425a2;
/* rgb */ color: rgb(100, 37, 162);
/* oklch */ color: oklch(42.8% 0.187 301.7);
Tailwind
colors: {
  custom: {
    50: '#9667be',
    500: '#6425a2',
    950: '#000000',
  },
}
SCSS
$custom: #6425a2;
$custom-light: #9667be;
$custom-dark: #000000;
JSON
{
  "hex": "#6425a2",
  "rgb": {
    "r": 100,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 270.24,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4282,
    "c": 0.18698,
    "h": 301.7
  },
  "luminance": 0.06641
}

Semantic roles & 50–950 ramp

primary
#6425A2
secondary
#91C261
accent
#E64293
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6425A2

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

Preview Lab → · Contrast checker → · Palette generator →

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