#6C1EA5#6C1EA5

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

Color values

HEX#6C1EA5
RGBrgb(108, 30, 165)
HSLhsl(275, 69%, 38%)
HSVhsv(275, 82%, 65%)
CMYKcmyk(34.5%, 81.8%, 0%, 35.3%)
CIE-LABlab(31.42, 56.06, -56.79)
CIE-LCHlch(31.42, 79.80, 314.63°)
OKLaboklab(43.45% 0.1147 -0.1618)
OKLCHoklch(43.45% 0.198 305.3)
XYZxyz(13.4386, 6.8334, 36.2010)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1EA5 #57A51E
analogous
#291EA5 #6C1EA5 #A51E9A
triadic
#6C1EA5 #A56C1E #1EA56C
tetradic
#6C1EA5 #A5291E #57A51E #1E9AA5
square
#6C1EA5 #A5291E #57A51E #1E9AA5
split-complementary
#6C1EA5 #9AA51E #1EA529
monochromatic
#280B3D #4A1571 #6C1EA5 #8E28D8 #A95CE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C1EA5#FFFFFF#000000##FFFFFF
##6C1EA51.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)
#0048A9
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#614363
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6c1ea5;
/* rgb */ color: rgb(108, 30, 165);
/* oklch */ color: oklch(43.4% 0.198 305.3);
Tailwind
colors: {
  custom: {
    50: '#9c65c1',
    500: '#6c1ea5',
    950: '#000000',
  },
}
SCSS
$custom: #6c1ea5;
$custom-light: #9c65c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1ea5",
  "rgb": {
    "r": 108,
    "g": 30,
    "b": 165
  },
  "hsl": {
    "h": 274.667,
    "s": 69.231,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43449,
    "c": 0.19838,
    "h": 305.3
  },
  "luminance": 0.06833
}

Semantic roles & 50–950 ramp

primary
#6C1EA5
secondary
#87C559
accent
#EC3C86
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C1EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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