#6A25A7#6A25A7

#6A25A7 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.0% C 0.193 H 303.1°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#6A25A7
RGBrgb(106, 37, 167)
HSLhsl(272, 64%, 40%)
HSVhsv(272, 78%, 65%)
CMYKcmyk(36.5%, 77.8%, 0%, 34.5%)
CIE-LABlab(32.21, 53.59, -56.73)
CIE-LCHlch(32.21, 78.04, 313.37°)
OKLaboklab(43.99% 0.1057 -0.1618)
OKLCHoklch(43.99% 0.193 303.1)
XYZxyz(13.5788, 7.1773, 37.2217)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A25A7 #62A725
analogous
#2925A7 #6A25A7 #A725A3
triadic
#6A25A7 #A76A25 #25A76A
tetradic
#6A25A7 #A72925 #62A725 #25A3A7
square
#6A25A7 #A72925 #62A725 #25A3A7
split-complementary
#6A25A7 #A3A725 #25A729
monochromatic
#2A0F43 #4A1A75 #6A25A7 #8937D3 #A769DE

Accessibility & contrast

On white

8.62
#6A25A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6A25A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A25A7
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A25A7#FFFFFF#000000##FFFFFF
##6A25A71.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAB
Deuteranopia (green-blind)
#004BA4
Tritanopia (blue-blind)
#5D4765
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6a25a7;
/* rgb */ color: rgb(106, 37, 167);
/* oklch */ color: oklch(44.0% 0.193 303.1);
Tailwind
colors: {
  custom: {
    50: '#9a68c2',
    500: '#6a25a7',
    950: '#000000',
  },
}
SCSS
$custom: #6a25a7;
$custom-light: #9a68c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a25a7",
  "rgb": {
    "r": 106,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 271.846,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.43988,
    "c": 0.19324,
    "h": 303.1
  },
  "luminance": 0.07177
}

Semantic roles & 50–950 ramp

primary
#6A25A7
secondary
#91C464
accent
#E7418F
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A25A7

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

Preview Lab → · Contrast checker → · Palette generator →

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