#6C25A4#6C25A4

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

Color values

HEX#6C25A4
RGBrgb(108, 37, 164)
HSLhsl(274, 63%, 39%)
HSVhsv(274, 77%, 64%)
CMYKcmyk(34.1%, 77.4%, 0%, 35.7%)
CIE-LABlab(32.24, 53.24, -54.85)
CIE-LCHlch(32.24, 76.44, 314.14°)
OKLaboklab(43.99% 0.1093 -0.1562)
OKLCHoklch(43.99% 0.191 305)
XYZxyz(13.5452, 7.1917, 35.7893)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C25A4 #5DA425
analogous
#2C25A4 #6C25A4 #A4259D
triadic
#6C25A4 #A46C25 #25A46C
tetradic
#6C25A4 #A42C25 #5DA425 #259DA4
square
#6C25A4 #A42C25 #5DA425 #259DA4
split-complementary
#6C25A4 #9DA425 #25A42C
monochromatic
#2A0E40 #4B1A72 #6C25A4 #8C35D1 #A967DD

Accessibility & contrast

On white

8.61
#6C25A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C25A4
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C25A4#FFFFFF#000000##FFFFFF
##6C25A41.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#004CA1
Tritanopia (blue-blind)
#614564
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6c25a4;
/* rgb */ color: rgb(108, 37, 164);
/* oklch */ color: oklch(44.0% 0.191 305.0);
Tailwind
colors: {
  custom: {
    50: '#9c68c0',
    500: '#6c25a4',
    950: '#000000',
  },
}
SCSS
$custom: #6c25a4;
$custom-light: #9c68c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c25a4",
  "rgb": {
    "r": 108,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 273.543,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43993,
    "c": 0.19065,
    "h": 305
  },
  "luminance": 0.07192
}

Semantic roles & 50–950 ramp

primary
#6C25A4
secondary
#8DC262
accent
#E6428A
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6C25A4

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

Preview Lab → · Contrast checker → · Palette generator →

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