#6C25AE#6C25AE

#6C25AE is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.8% C 0.201 H 302.1°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#6C25AE
RGBrgb(108, 37, 174)
HSLhsl(271, 65%, 41%)
HSVhsv(271, 79%, 68%)
CMYKcmyk(37.9%, 78.7%, 0%, 31.8%)
CIE-LABlab(33.06, 55.58, -59.52)
CIE-LCHlch(33.06, 81.43, 313.04°)
OKLaboklab(44.83% 0.1067 -0.1699)
OKLCHoklch(44.83% 0.201 302.1)
XYZxyz(14.4840, 7.5672, 40.7337)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C25AE #67AE25
analogous
#2825AE #6C25AE #AE25AC
triadic
#6C25AE #AE6C25 #25AE6C
tetradic
#6C25AE #AE2825 #67AE25 #25ACAE
square
#6C25AE #AE2825 #67AE25 #25ACAE
split-complementary
#6C25AE #ACAE25 #25AE28
monochromatic
#2D1049 #4D1A7C #6C25AE #8B3BD5 #A96DE0

Accessibility & contrast

On white

8.36
#6C25AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6C25AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C25AE
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C25AE#FFFFFF#000000##FFFFFF
##6C25AE1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#004DAB
Tritanopia (blue-blind)
#5E4A69
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6c25ae;
/* rgb */ color: rgb(108, 37, 174);
/* oklch */ color: oklch(44.8% 0.201 302.1);
Tailwind
colors: {
  custom: {
    50: '#9c68c7',
    500: '#6c25ae',
    950: '#000000',
  },
}
SCSS
$custom: #6c25ae;
$custom-light: #9c68c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c25ae",
  "rgb": {
    "r": 108,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 271.095,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44827,
    "c": 0.20065,
    "h": 302.1
  },
  "luminance": 0.07567
}

Semantic roles & 50–950 ramp

primary
#6C25AE
secondary
#96C668
accent
#E84091
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C25AE

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

Preview Lab → · Contrast checker → · Palette generator →

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