#6C25C6#6C25C6

#6C25C6 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.9% C 0.225 H 296.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#6C25C6
RGBrgb(108, 37, 198)
HSLhsl(266, 69%, 46%)
HSVhsv(266, 81%, 78%)
CMYKcmyk(45.5%, 81.3%, 0%, 22.4%)
CIE-LABlab(35.18, 61.31, -70.24)
CIE-LCHlch(35.18, 93.24, 311.12°)
OKLaboklab(46.94% 0.0994 -0.2014)
OKLCHoklch(46.94% 0.225 296.3)
XYZxyz(17.0362, 8.5881, 54.1752)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C25C6 #7FC625
analogous
#252EC6 #6C25C6 #BC25C6
triadic
#6C25C6 #C66C25 #25C66C
tetradic
#6C25C6 #C6252E #7FC625 #25C6BC
square
#6C25C6 #C6252E #7FC625 #25C6BC
split-complementary
#6C25C6 #C6BC25 #2EC625
monochromatic
#34125F #501B92 #6C25C6 #8B4BDD #AD7EE7

Accessibility & contrast

On white

7.73
#6C25C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6C25C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C25C6
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C25C6#FFFFFF#000000##FFFFFF
##6C25C61.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CA
Deuteranopia (green-blind)
#0050C3
Tritanopia (blue-blind)
#535477
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6c25c6;
/* rgb */ color: rgb(108, 37, 198);
/* oklch */ color: oklch(46.9% 0.225 296.3);
Tailwind
colors: {
  custom: {
    50: '#9f6ad9',
    500: '#6c25c6',
    950: '#000000',
  },
}
SCSS
$custom: #6c25c6;
$custom-light: #9f6ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c25c6",
  "rgb": {
    "r": 108,
    "g": 37,
    "b": 198
  },
  "hsl": {
    "h": 266.46,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46943,
    "c": 0.22458,
    "h": 296.3
  },
  "luminance": 0.08588
}

Semantic roles & 50–950 ramp

primary
#6C25C6
secondary
#A9CF77
accent
#EB3C9E
background
#FAF6FD
surface
#F4EBFB
border
#CEC6D4
text
#100715
muted
#7F7A83

Preview Lab

Preview with #6C25C6

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

Preview Lab → · Contrast checker → · Palette generator →

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