#6C25C4#6C25C4

#6C25C4 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.8% C 0.223 H 296.7°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#6C25C4
RGBrgb(108, 37, 196)
HSLhsl(267, 68%, 46%)
HSVhsv(267, 81%, 77%)
CMYKcmyk(44.9%, 81.1%, 0%, 23.1%)
CIE-LABlab(35.00, 60.83, -69.37)
CIE-LCHlch(35.00, 92.27, 311.25°)
OKLaboklab(46.76% 0.1001 -0.1988)
OKLCHoklch(46.76% 0.223 296.7)
XYZxyz(16.8071, 8.4964, 52.9683)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C25C4 #7DC425
analogous
#252EC4 #6C25C4 #BB25C4
triadic
#6C25C4 #C46C25 #25C46C
tetradic
#6C25C4 #C4252E #7DC425 #25C4BB
square
#6C25C4 #C4252E #7DC425 #25C4BB
split-complementary
#6C25C4 #C4BB25 #2EC425
monochromatic
#33125D #501B91 #6C25C4 #8B49DD #AC7DE6

Accessibility & contrast

On white

7.78
#6C25C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6C25C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C25C4
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C25C4#FFFFFF#000000##FFFFFF
##6C25C41.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C8
Deuteranopia (green-blind)
#0050C1
Tritanopia (blue-blind)
#545376
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6c25c4;
/* rgb */ color: rgb(108, 37, 196);
/* oklch */ color: oklch(46.8% 0.223 296.7);
Tailwind
colors: {
  custom: {
    50: '#9f69d7',
    500: '#6c25c4',
    950: '#000000',
  },
}
SCSS
$custom: #6c25c4;
$custom-light: #9f69d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c25c4",
  "rgb": {
    "r": 108,
    "g": 37,
    "b": 196
  },
  "hsl": {
    "h": 266.792,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46761,
    "c": 0.2226,
    "h": 296.7
  },
  "luminance": 0.08497
}

Semantic roles & 50–950 ramp

primary
#6C25C4
secondary
#A7CF76
accent
#EB3D9D
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #6C25C4

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

Preview Lab → · Contrast checker → · Palette generator →

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