#6C25A2#6C25A2

#6C25A2 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.8% C 0.189 H 305.6°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#6C25A2
RGBrgb(108, 37, 162)
HSLhsl(274, 63%, 39%)
HSVhsv(274, 77%, 64%)
CMYKcmyk(33.3%, 77.2%, 0%, 36.5%)
CIE-LABlab(32.08, 52.78, -53.91)
CIE-LCHlch(32.08, 75.44, 314.39°)
OKLaboklab(43.83% 0.1098 -0.1534)
OKLCHoklch(43.83% 0.189 305.6)
XYZxyz(13.3660, 7.1200, 34.8456)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C25A2 #5BA225
analogous
#2E25A2 #6C25A2 #A2259A
triadic
#6C25A2 #A26C25 #25A26C
tetradic
#6C25A2 #A22E25 #5BA225 #259AA2
square
#6C25A2 #A22E25 #5BA225 #259AA2
split-complementary
#6C25A2 #9AA225 #25A22E
monochromatic
#2A0E3E #4B1A70 #6C25A2 #8D34D1 #A965DC

Accessibility & contrast

On white

8.66
#6C25A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6C25A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C25A2
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C25A2#FFFFFF#000000##FFFFFF
##6C25A21.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#624562
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6c25a2;
/* rgb */ color: rgb(108, 37, 162);
/* oklch */ color: oklch(43.8% 0.189 305.6);
Tailwind
colors: {
  custom: {
    50: '#9b68be',
    500: '#6c25a2',
    950: '#000000',
  },
}
SCSS
$custom: #6c25a2;
$custom-light: #9b68be;
$custom-dark: #000000;
JSON
{
  "hex": "#6c25a2",
  "rgb": {
    "r": 108,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 274.08,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4383,
    "c": 0.18865,
    "h": 305.6
  },
  "luminance": 0.0712
}

Semantic roles & 50–950 ramp

primary
#6C25A2
secondary
#8BC261
accent
#E64289
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C25A2

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

Preview Lab → · Contrast checker → · Palette generator →

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