#6C25A6#6C25A6

#6C25A6 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.2% C 0.193 H 304.4°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#6C25A6
RGBrgb(108, 37, 166)
HSLhsl(273, 64%, 40%)
HSVhsv(273, 78%, 65%)
CMYKcmyk(34.9%, 77.7%, 0%, 34.9%)
CIE-LABlab(32.40, 53.70, -55.80)
CIE-LCHlch(32.40, 77.44, 313.91°)
OKLaboklab(44.16% 0.1088 -0.159)
OKLCHoklch(44.16% 0.193 304.4)
XYZxyz(13.7273, 7.2645, 36.7480)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C25A6 #5FA625
analogous
#2B25A6 #6C25A6 #A625A0
triadic
#6C25A6 #A66C25 #25A66C
tetradic
#6C25A6 #A62B25 #5FA625 #25A0A6
square
#6C25A6 #A62B25 #5FA625 #25A0A6
split-complementary
#6C25A6 #A0A625 #25A62B
monochromatic
#2B0F42 #4B1A74 #6C25A6 #8C36D2 #A968DD

Accessibility & contrast

On white

8.56
#6C25A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6C25A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C25A6
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C25A6#FFFFFF#000000##FFFFFF
##6C25A61.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAA
Deuteranopia (green-blind)
#004CA3
Tritanopia (blue-blind)
#614665
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6c25a6;
/* rgb */ color: rgb(108, 37, 166);
/* oklch */ color: oklch(44.2% 0.193 304.4);
Tailwind
colors: {
  custom: {
    50: '#9c68c1',
    500: '#6c25a6',
    950: '#000000',
  },
}
SCSS
$custom: #6c25a6;
$custom-light: #9c68c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c25a6",
  "rgb": {
    "r": 108,
    "g": 37,
    "b": 166
  },
  "hsl": {
    "h": 273.023,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44157,
    "c": 0.19265,
    "h": 304.4
  },
  "luminance": 0.07264
}

Semantic roles & 50–950 ramp

primary
#6C25A6
secondary
#8FC364
accent
#E7418C
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6C25A6

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

Preview Lab → · Contrast checker → · Palette generator →

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