#6A25A3#6A25A3

#6A25A3 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.7% C 0.189 H 304.3°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#6A25A3
RGBrgb(106, 37, 163)
HSLhsl(273, 63%, 39%)
HSVhsv(273, 77%, 64%)
CMYKcmyk(35%, 77.3%, 0%, 36.1%)
CIE-LABlab(31.88, 52.65, -54.85)
CIE-LCHlch(31.88, 76.03, 313.83°)
OKLaboklab(43.66% 0.1066 -0.1563)
OKLCHoklch(43.66% 0.189 304.3)
XYZxyz(13.2148, 7.0317, 35.3043)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A25A3 #5EA325
analogous
#2B25A3 #6A25A3 #A3259D
triadic
#6A25A3 #A36A25 #25A36A
tetradic
#6A25A3 #A32B25 #5EA325 #259DA3
square
#6A25A3 #A32B25 #5EA325 #259DA3
split-complementary
#6A25A3 #9DA325 #25A32B
monochromatic
#290E3F #4A1A71 #6A25A3 #8A34D1 #A766DC

Accessibility & contrast

On white

8.73
#6A25A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6A25A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A25A3
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A25A3#FFFFFF#000000##FFFFFF
##6A25A31.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a25a3;
/* rgb */ color: rgb(106, 37, 163);
/* oklch */ color: oklch(43.7% 0.189 304.3);
Tailwind
colors: {
  custom: {
    50: '#9a67bf',
    500: '#6a25a3',
    950: '#000000',
  },
}
SCSS
$custom: #6a25a3;
$custom-light: #9a67bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6a25a3",
  "rgb": {
    "r": 106,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 272.857,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43655,
    "c": 0.1892,
    "h": 304.3
  },
  "luminance": 0.07032
}

Semantic roles & 50–950 ramp

primary
#6A25A3
secondary
#8DC262
accent
#E6428C
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A25A3

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

Preview Lab → · Contrast checker → · Palette generator →

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