#6A25AC#6A25AC

#6A25AC is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.4% C 0.198 H 301.8°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#6A25AC
RGBrgb(106, 37, 172)
HSLhsl(271, 65%, 41%)
HSVhsv(271, 78%, 67%)
CMYKcmyk(38.4%, 78.5%, 0%, 32.5%)
CIE-LABlab(32.63, 54.78, -59.05)
CIE-LCHlch(32.63, 80.54, 312.85°)
OKLaboklab(44.41% 0.1043 -0.1686)
OKLCHoklch(44.41% 0.198 301.8)
XYZxyz(14.0500, 7.3658, 39.7033)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A25AC #67AC25
analogous
#2725AC #6A25AC #AC25AA
triadic
#6A25AC #AC6A25 #25AC6A
tetradic
#6A25AC #AC2725 #67AC25 #25AAAC
square
#6A25AC #AC2725 #67AC25 #25AAAC
split-complementary
#6A25AC #AAAC25 #25AC27
monochromatic
#2C0F47 #4B1A7A #6A25AC #893AD5 #A76CDF

Accessibility & contrast

On white

8.49
#6A25AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6A25AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A25AC
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A25AC#FFFFFF#000000##FFFFFF
##6A25AC1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#5B4968
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6a25ac;
/* rgb */ color: rgb(106, 37, 172);
/* oklch */ color: oklch(44.4% 0.198 301.8);
Tailwind
colors: {
  custom: {
    50: '#9b68c6',
    500: '#6a25ac',
    950: '#000000',
  },
}
SCSS
$custom: #6a25ac;
$custom-light: #9b68c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a25ac",
  "rgb": {
    "r": 106,
    "g": 37,
    "b": 172
  },
  "hsl": {
    "h": 270.667,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4441,
    "c": 0.19828,
    "h": 301.8
  },
  "luminance": 0.07366
}

Semantic roles & 50–950 ramp

primary
#6A25AC
secondary
#95C667
accent
#E84092
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A25AC

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

Preview Lab → · Contrast checker → · Palette generator →

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