#6C1BA0#6C1BA0

#6C1BA0 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.8% C 0.196 H 307.1°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#6C1BA0
RGBrgb(108, 27, 160)
HSLhsl(277, 71%, 37%)
HSVhsv(277, 83%, 63%)
CMYKcmyk(32.5%, 83.1%, 0%, 37.3%)
CIE-LABlab(30.66, 55.95, -55.00)
CIE-LCHlch(30.66, 78.45, 315.49°)
OKLaboklab(42.79% 0.1183 -0.1566)
OKLCHoklch(42.79% 0.196 307.1)
XYZxyz(12.9201, 6.5102, 33.8269)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1BA0 #4FA01B
analogous
#291BA0 #6C1BA0 #A01B92
triadic
#6C1BA0 #A06C1B #1BA06C
tetradic
#6C1BA0 #A0291B #4FA01B #1B92A0
square
#6C1BA0 #A0291B #4FA01B #1B92A0
split-complementary
#6C1BA0 #92A01B #1BA029
monochromatic
#250937 #49126C #6C1BA0 #8F24D4 #AA53E2

Accessibility & contrast

On white

9.12
#6C1BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6C1BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1BA0
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1BA0#FFFFFF#000000##FFFFFF
##6C1BA01.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#633F5F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6c1ba0;
/* rgb */ color: rgb(108, 27, 160);
/* oklch */ color: oklch(42.8% 0.196 307.1);
Tailwind
colors: {
  custom: {
    50: '#9c63bd',
    500: '#6c1ba0',
    950: '#000000',
  },
}
SCSS
$custom: #6c1ba0;
$custom-light: #9c63bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1ba0",
  "rgb": {
    "r": 108,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 276.541,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42791,
    "c": 0.19626,
    "h": 307.1
  },
  "luminance": 0.0651
}

Semantic roles & 50–950 ramp

primary
#6C1BA0
secondary
#7FC552
accent
#EE3A80
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C1BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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