#6C25AF#6C25AF

#6C25AF is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.9% C 0.202 H 301.9°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#6C25AF
RGBrgb(108, 37, 175)
HSLhsl(271, 65%, 42%)
HSVhsv(271, 79%, 69%)
CMYKcmyk(38.3%, 78.9%, 0%, 31.4%)
CIE-LABlab(33.15, 55.82, -59.98)
CIE-LCHlch(33.15, 81.93, 312.94°)
OKLaboklab(44.91% 0.1065 -0.1713)
OKLCHoklch(44.91% 0.202 301.9)
XYZxyz(14.5819, 7.6064, 41.2491)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C25AF #68AF25
analogous
#2725AF #6C25AF #AF25AD
triadic
#6C25AF #AF6C25 #25AF6C
tetradic
#6C25AF #AF2725 #68AF25 #25ADAF
square
#6C25AF #AF2725 #68AF25 #25ADAF
split-complementary
#6C25AF #ADAF25 #25AF27
monochromatic
#2E104A #4D1A7C #6C25AF #8B3CD6 #A96EE0

Accessibility & contrast

On white

8.33
#6C25AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6C25AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C25AF
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C25AF#FFFFFF#000000##FFFFFF
##6C25AF1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#5D4A6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6c25af;
/* rgb */ color: rgb(108, 37, 175);
/* oklch */ color: oklch(44.9% 0.202 301.9);
Tailwind
colors: {
  custom: {
    50: '#9d68c8',
    500: '#6c25af',
    950: '#000000',
  },
}
SCSS
$custom: #6c25af;
$custom-light: #9d68c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c25af",
  "rgb": {
    "r": 108,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 270.87,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44912,
    "c": 0.20166,
    "h": 301.9
  },
  "luminance": 0.07606
}

Semantic roles & 50–950 ramp

primary
#6C25AF
secondary
#97C769
accent
#E84091
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C25AF

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

Preview Lab → · Contrast checker → · Palette generator →

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