#6C25A5#6C25A5

#6C25A5 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.1% C 0.192 H 304.7°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#6C25A5
RGBrgb(108, 37, 165)
HSLhsl(273, 63%, 40%)
HSVhsv(273, 78%, 65%)
CMYKcmyk(34.5%, 77.6%, 0%, 35.3%)
CIE-LABlab(32.32, 53.47, -55.33)
CIE-LCHlch(32.32, 76.94, 314.02°)
OKLaboklab(44.08% 0.109 -0.1576)
OKLCHoklch(44.08% 0.192 304.7)
XYZxyz(13.6359, 7.2280, 36.2668)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C25A5 #5EA525
analogous
#2C25A5 #6C25A5 #A5259E
triadic
#6C25A5 #A56C25 #25A56C
tetradic
#6C25A5 #A52C25 #5EA525 #259EA5
square
#6C25A5 #A52C25 #5EA525 #259EA5
split-complementary
#6C25A5 #9EA525 #25A52C
monochromatic
#2B0F41 #4B1A73 #6C25A5 #8C35D2 #A967DD

Accessibility & contrast

On white

8.59
#6C25A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C25A5
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C25A5#FFFFFF#000000##FFFFFF
##6C25A51.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#614664
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6c25a5;
/* rgb */ color: rgb(108, 37, 165);
/* oklch */ color: oklch(44.1% 0.192 304.7);
Tailwind
colors: {
  custom: {
    50: '#9c68c1',
    500: '#6c25a5',
    950: '#000000',
  },
}
SCSS
$custom: #6c25a5;
$custom-light: #9c68c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c25a5",
  "rgb": {
    "r": 108,
    "g": 37,
    "b": 165
  },
  "hsl": {
    "h": 273.281,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44075,
    "c": 0.19165,
    "h": 304.7
  },
  "luminance": 0.07228
}

Semantic roles & 50–950 ramp

primary
#6C25A5
secondary
#8EC363
accent
#E6418B
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6C25A5

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

Preview Lab → · Contrast checker → · Palette generator →

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