#6C1EB3#6C1EB3

#6C1EB3 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.7% C 0.212 H 301.4°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#6C1EB3
RGBrgb(108, 30, 179)
HSLhsl(271, 71%, 41%)
HSVhsv(271, 83%, 70%)
CMYKcmyk(39.7%, 83.2%, 0%, 29.8%)
CIE-LABlab(32.64, 59.25, -63.20)
CIE-LCHlch(32.64, 86.63, 313.15°)
OKLaboklab(44.66% 0.1104 -0.1807)
OKLCHoklch(44.66% 0.212 301.4)
XYZxyz(14.7833, 7.3713, 43.2830)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1EB3 #65B31E
analogous
#211EB3 #6C1EB3 #B31EAF
triadic
#6C1EB3 #B36C1E #1EB36C
tetradic
#6C1EB3 #B3211E #65B31E #1EAFB3
square
#6C1EB3 #B3211E #65B31E #1EAFB3
split-complementary
#6C1EB3 #AFB31E #1EB321
monochromatic
#2D0C4A #4C157F #6C1EB3 #8B32DD #A966E5

Accessibility & contrast

On white

8.49
#6C1EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6C1EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1EB3
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1EB3#FFFFFF#000000##FFFFFF
##6C1EB31.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#5C496B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6c1eb3;
/* rgb */ color: rgb(108, 30, 179);
/* oklch */ color: oklch(44.7% 0.212 301.4);
Tailwind
colors: {
  custom: {
    50: '#9d66cb',
    500: '#6c1eb3',
    950: '#000000',
  },
}
SCSS
$custom: #6c1eb3;
$custom-light: #9d66cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1eb3",
  "rgb": {
    "r": 108,
    "g": 30,
    "b": 179
  },
  "hsl": {
    "h": 271.409,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44663,
    "c": 0.21171,
    "h": 301.4
  },
  "luminance": 0.07371
}

Semantic roles & 50–950 ramp

primary
#6C1EB3
secondary
#94CB62
accent
#EE3A90
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6C1EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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