#6A25AE#6A25AE

#6A25AE is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.6% C 0.200 H 301.2°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#6A25AE
RGBrgb(106, 37, 174)
HSLhsl(270, 65%, 41%)
HSVhsv(270, 79%, 68%)
CMYKcmyk(39.1%, 78.7%, 0%, 31.8%)
CIE-LABlab(32.80, 55.26, -59.97)
CIE-LCHlch(32.80, 81.54, 312.66°)
OKLaboklab(44.58% 0.1038 -0.1713)
OKLCHoklch(44.58% 0.2 301.2)
XYZxyz(14.2435, 7.4432, 40.7225)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A25AE #69AE25
analogous
#2625AE #6A25AE #AE25AE
triadic
#6A25AE #AE6A25 #25AE6A
tetradic
#6A25AE #AE2625 #69AE25 #25AEAE
square
#6A25AE #AE2625 #69AE25 #25AEAE
split-complementary
#6A25AE #AEAE25 #25AE26
monochromatic
#2D1049 #4B1A7C #6A25AE #893BD5 #A76DE0

Accessibility & contrast

On white

8.44
#6A25AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6A25AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A25AE
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A25AE#FFFFFF#000000##FFFFFF
##6A25AE1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#004CAB
Tritanopia (blue-blind)
#5B4A69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6a25ae;
/* rgb */ color: rgb(106, 37, 174);
/* oklch */ color: oklch(44.6% 0.200 301.2);
Tailwind
colors: {
  custom: {
    50: '#9b68c7',
    500: '#6a25ae',
    950: '#000000',
  },
}
SCSS
$custom: #6a25ae;
$custom-light: #9b68c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a25ae",
  "rgb": {
    "r": 106,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 270.219,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44581,
    "c": 0.2003,
    "h": 301.2
  },
  "luminance": 0.07443
}

Semantic roles & 50–950 ramp

primary
#6A25AE
secondary
#97C668
accent
#E84093
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A25AE

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

Preview Lab → · Contrast checker → · Palette generator →

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