#6C259A#6C259A

#6C259A is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.181 H 308.1°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#6C259A
RGBrgb(108, 37, 154)
HSLhsl(276, 61%, 37%)
HSVhsv(276, 76%, 60%)
CMYKcmyk(29.9%, 76%, 0%, 39.6%)
CIE-LABlab(31.45, 50.94, -50.07)
CIE-LCHlch(31.45, 71.43, 315.49°)
OKLaboklab(43.19% 0.1115 -0.1422)
OKLCHoklch(43.19% 0.181 308.1)
XYZxyz(12.6774, 6.8446, 31.2189)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C259A #539A25
analogous
#31259A #6C259A #9A258E
triadic
#6C259A #9A6C25 #259A6C
tetradic
#6C259A #9A3125 #539A25 #258E9A
square
#6C259A #9A3125 #539A25 #258E9A
split-complementary
#6C259A #8E9A25 #259A31
monochromatic
#270D37 #491969 #6C259A #8F31CB #AA60D9

Accessibility & contrast

On white

8.87
#6C259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6C259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C259A
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C259A#FFFFFF#000000##FFFFFF
##6C259A1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#65415E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6c259a;
/* rgb */ color: rgb(108, 37, 154);
/* oklch */ color: oklch(43.2% 0.181 308.1);
Tailwind
colors: {
  custom: {
    50: '#9b67b9',
    500: '#6c259a',
    950: '#000000',
  },
}
SCSS
$custom: #6c259a;
$custom-light: #9b67b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c259a",
  "rgb": {
    "r": 108,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 276.41,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43191,
    "c": 0.18065,
    "h": 308.1
  },
  "luminance": 0.06844
}

Semantic roles & 50–950 ramp

primary
#6C259A
secondary
#83BE5D
accent
#E44383
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C259A

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

Preview Lab → · Contrast checker → · Palette generator →

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