#6C1EB4#6C1EB4

#6C1EB4 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.8% C 0.213 H 301.2°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#6C1EB4
RGBrgb(108, 30, 180)
HSLhsl(271, 71%, 41%)
HSVhsv(271, 83%, 71%)
CMYKcmyk(40%, 83.3%, 0%, 29.4%)
CIE-LABlab(32.73, 59.48, -63.65)
CIE-LCHlch(32.73, 87.11, 313.06°)
OKLaboklab(44.75% 0.11 -0.182)
OKLCHoklch(44.75% 0.213 301.2)
XYZxyz(14.8848, 7.4119, 43.8176)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1EB4 #66B41E
analogous
#211EB4 #6C1EB4 #B41EB1
triadic
#6C1EB4 #B46C1E #1EB46C
tetradic
#6C1EB4 #B4211E #66B41E #1EB1B4
square
#6C1EB4 #B4211E #66B41E #1EB1B4
split-complementary
#6C1EB4 #B1B41E #1EB421
monochromatic
#2D0D4B #4D1580 #6C1EB4 #8B32DD #A967E6

Accessibility & contrast

On white

8.46
#6C1EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6C1EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1EB4
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1EB4#FFFFFF#000000##FFFFFF
##6C1EB41.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#004CB1
Tritanopia (blue-blind)
#5B4A6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6c1eb4;
/* rgb */ color: rgb(108, 30, 180);
/* oklch */ color: oklch(44.8% 0.213 301.2);
Tailwind
colors: {
  custom: {
    50: '#9d66cc',
    500: '#6c1eb4',
    950: '#000000',
  },
}
SCSS
$custom: #6c1eb4;
$custom-light: #9d66cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1eb4",
  "rgb": {
    "r": 108,
    "g": 30,
    "b": 180
  },
  "hsl": {
    "h": 271.2,
    "s": 71.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44752,
    "c": 0.21267,
    "h": 301.2
  },
  "luminance": 0.07412
}

Semantic roles & 50–950 ramp

primary
#6C1EB4
secondary
#95CB63
accent
#EE3A90
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6C1EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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