#6A25A2#6A25A2

#6A25A2 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.188 H 304.6°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#6A25A2
RGBrgb(106, 37, 162)
HSLhsl(273, 63%, 39%)
HSVhsv(273, 77%, 64%)
CMYKcmyk(34.6%, 77.2%, 0%, 36.5%)
CIE-LABlab(31.80, 52.42, -54.38)
CIE-LCHlch(31.80, 75.53, 313.95°)
OKLaboklab(43.57% 0.1069 -0.1549)
OKLCHoklch(43.57% 0.188 304.6)
XYZxyz(13.1255, 6.9960, 34.8343)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A25A2 #5DA225
analogous
#2C25A2 #6A25A2 #A2259C
triadic
#6A25A2 #A26A25 #25A26A
tetradic
#6A25A2 #A22C25 #5DA225 #259CA2
square
#6A25A2 #A22C25 #5DA225 #259CA2
split-complementary
#6A25A2 #9CA225 #25A22C
monochromatic
#290E3E #491A70 #6A25A2 #8A34D1 #A765DC

Accessibility & contrast

On white

8.75
#6A25A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6A25A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A25A2
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A25A2#FFFFFF#000000##FFFFFF
##6A25A21.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#5F4562
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6a25a2;
/* rgb */ color: rgb(106, 37, 162);
/* oklch */ color: oklch(43.6% 0.188 304.6);
Tailwind
colors: {
  custom: {
    50: '#9a67be',
    500: '#6a25a2',
    950: '#000000',
  },
}
SCSS
$custom: #6a25a2;
$custom-light: #9a67be;
$custom-dark: #000000;
JSON
{
  "hex": "#6a25a2",
  "rgb": {
    "r": 106,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 273.12,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43573,
    "c": 0.18819,
    "h": 304.6
  },
  "luminance": 0.06996
}

Semantic roles & 50–950 ramp

primary
#6A25A2
secondary
#8CC261
accent
#E6428B
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A25A2

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

Preview Lab → · Contrast checker → · Palette generator →

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