#6C25AA#6C25AA

#6C25AA is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.5% C 0.197 H 303.2°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#6C25AA
RGBrgb(108, 37, 170)
HSLhsl(272, 64%, 41%)
HSVhsv(272, 78%, 67%)
CMYKcmyk(36.5%, 78.2%, 0%, 33.3%)
CIE-LABlab(32.73, 54.64, -57.67)
CIE-LCHlch(32.73, 79.44, 313.46°)
OKLaboklab(44.49% 0.1078 -0.1645)
OKLCHoklch(44.49% 0.197 303.2)
XYZxyz(14.0999, 7.4136, 38.7106)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C25AA #63AA25
analogous
#2925AA #6C25AA #AA25A5
triadic
#6C25AA #AA6C25 #25AA6C
tetradic
#6C25AA #AA2925 #63AA25 #25A5AA
square
#6C25AA #AA2925 #63AA25 #25A5AA
split-complementary
#6C25AA #A5AA25 #25AA29
monochromatic
#2C0F45 #4C1A78 #6C25AA #8B38D4 #A96BDF

Accessibility & contrast

On white

8.46
#6C25AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6C25AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C25AA
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C25AA#FFFFFF#000000##FFFFFF
##6C25AA1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#004DA7
Tritanopia (blue-blind)
#5F4867
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6c25aa;
/* rgb */ color: rgb(108, 37, 170);
/* oklch */ color: oklch(44.5% 0.197 303.2);
Tailwind
colors: {
  custom: {
    50: '#9c68c4',
    500: '#6c25aa',
    950: '#000000',
  },
}
SCSS
$custom: #6c25aa;
$custom-light: #9c68c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c25aa",
  "rgb": {
    "r": 108,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 272.03,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4449,
    "c": 0.19665,
    "h": 303.2
  },
  "luminance": 0.07414
}

Semantic roles & 50–950 ramp

primary
#6C25AA
secondary
#92C566
accent
#E7418E
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C25AA

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

Preview Lab → · Contrast checker → · Palette generator →

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