#6B1CA0#6B1CA0

#6B1CA0 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.7% C 0.195 H 306.5°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#6B1CA0
RGBrgb(107, 28, 160)
HSLhsl(276, 70%, 37%)
HSVhsv(276, 83%, 63%)
CMYKcmyk(33.1%, 82.5%, 0%, 37.3%)
CIE-LABlab(30.63, 55.46, -55.07)
CIE-LCHlch(30.63, 78.15, 315.20°)
OKLaboklab(42.73% 0.1162 -0.1568)
OKLCHoklch(42.73% 0.195 306.5)
XYZxyz(12.8224, 6.4945, 33.8290)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1CA0 #51A01C
analogous
#291CA0 #6B1CA0 #A01C93
triadic
#6B1CA0 #A06B1C #1CA06B
tetradic
#6B1CA0 #A0291C #51A01C #1C93A0
square
#6B1CA0 #A0291C #51A01C #1C93A0
split-complementary
#6B1CA0 #93A01C #1CA029
monochromatic
#250A38 #48136C #6B1CA0 #8E25D4 #A955E1

Accessibility & contrast

On white

9.14
#6B1CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1CA0
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1CA0#FFFFFF#000000##FFFFFF
##6B1CA01.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#62405F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6b1ca0;
/* rgb */ color: rgb(107, 28, 160);
/* oklch */ color: oklch(42.7% 0.195 306.5);
Tailwind
colors: {
  custom: {
    50: '#9b63bd',
    500: '#6b1ca0',
    950: '#000000',
  },
}
SCSS
$custom: #6b1ca0;
$custom-light: #9b63bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1ca0",
  "rgb": {
    "r": 107,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 275.909,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42734,
    "c": 0.19516,
    "h": 306.5
  },
  "luminance": 0.06494
}

Semantic roles & 50–950 ramp

primary
#6B1CA0
secondary
#81C453
accent
#ED3B82
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6B1CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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