#6A25AA#6A25AA

#6A25AA is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.2% C 0.196 H 302.3°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#6A25AA
RGBrgb(106, 37, 170)
HSLhsl(271, 64%, 41%)
HSVhsv(271, 78%, 67%)
CMYKcmyk(37.6%, 78.2%, 0%, 33.3%)
CIE-LABlab(32.46, 54.30, -58.12)
CIE-LCHlch(32.46, 79.54, 313.05°)
OKLaboklab(44.24% 0.1049 -0.1659)
OKLCHoklch(44.24% 0.196 302.3)
XYZxyz(13.8594, 7.2895, 38.6993)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A25AA #65AA25
analogous
#2825AA #6A25AA #AA25A7
triadic
#6A25AA #AA6A25 #25AA6A
tetradic
#6A25AA #AA2825 #65AA25 #25A7AA
square
#6A25AA #AA2825 #65AA25 #25A7AA
split-complementary
#6A25AA #A7AA25 #25AA28
monochromatic
#2B0F45 #4B1A78 #6A25AA #8938D4 #A76BDF

Accessibility & contrast

On white

8.54
#6A25AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6A25AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A25AA
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A25AA#FFFFFF#000000##FFFFFF
##6A25AA1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#004CA7
Tritanopia (blue-blind)
#5C4867
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6a25aa;
/* rgb */ color: rgb(106, 37, 170);
/* oklch */ color: oklch(44.2% 0.196 302.3);
Tailwind
colors: {
  custom: {
    50: '#9b68c4',
    500: '#6a25aa',
    950: '#000000',
  },
}
SCSS
$custom: #6a25aa;
$custom-light: #9b68c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a25aa",
  "rgb": {
    "r": 106,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 271.128,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4424,
    "c": 0.19627,
    "h": 302.3
  },
  "luminance": 0.0729
}

Semantic roles & 50–950 ramp

primary
#6A25AA
secondary
#94C566
accent
#E74191
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A25AA

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

Preview Lab → · Contrast checker → · Palette generator →

#6A25AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva