#6C1EA9#6C1EA9

#6C1EA9 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.8% C 0.202 H 304.2°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#6C1EA9
RGBrgb(108, 30, 169)
HSLhsl(274, 70%, 39%)
HSVhsv(274, 82%, 66%)
CMYKcmyk(36.1%, 82.2%, 0%, 33.7%)
CIE-LABlab(31.76, 56.97, -58.64)
CIE-LCHlch(31.76, 81.76, 314.17°)
OKLaboklab(43.79% 0.1135 -0.1673)
OKLCHoklch(43.79% 0.202 304.2)
XYZxyz(13.8084, 6.9813, 38.1485)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1EA9 #5BA91E
analogous
#271EA9 #6C1EA9 #A91EA1
triadic
#6C1EA9 #A96C1E #1EA96C
tetradic
#6C1EA9 #A9271E #5BA91E #1EA1A9
square
#6C1EA9 #A9271E #5BA91E #1EA1A9
split-complementary
#6C1EA9 #A1A91E #1EA927
monochromatic
#2A0C41 #4B1575 #6C1EA9 #8D2BD9 #A95FE3

Accessibility & contrast

On white

8.76
#6C1EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6C1EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1EA9
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1EA9#FFFFFF#000000##FFFFFF
##6C1EA91.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#004BA6
Tritanopia (blue-blind)
#604565
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6c1ea9;
/* rgb */ color: rgb(108, 30, 169);
/* oklch */ color: oklch(43.8% 0.202 304.2);
Tailwind
colors: {
  custom: {
    50: '#9c65c4',
    500: '#6c1ea9',
    950: '#000000',
  },
}
SCSS
$custom: #6c1ea9;
$custom-light: #9c65c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1ea9",
  "rgb": {
    "r": 108,
    "g": 30,
    "b": 169
  },
  "hsl": {
    "h": 273.669,
    "s": 69.849,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4379,
    "c": 0.20218,
    "h": 304.2
  },
  "luminance": 0.06981
}

Semantic roles & 50–950 ramp

primary
#6C1EA9
secondary
#8BC75C
accent
#ED3B89
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6C1EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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