#6B1B9E#6B1B9E

#6B1B9E is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.5% C 0.194 H 307.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#6B1B9E
RGBrgb(107, 27, 158)
HSLhsl(277, 71%, 36%)
HSVhsv(277, 83%, 62%)
CMYKcmyk(32.3%, 82.9%, 0%, 38%)
CIE-LABlab(30.35, 55.34, -54.31)
CIE-LCHlch(30.35, 77.54, 315.54°)
OKLaboklab(42.49% 0.1175 -0.1546)
OKLCHoklch(42.49% 0.194 307.2)
XYZxyz(12.6256, 6.3785, 32.9072)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1B9E #4E9E1B
analogous
#291B9E #6B1B9E #9E1B90
triadic
#6B1B9E #9E6B1B #1B9E6B
tetradic
#6B1B9E #9E291B #4E9E1B #1B909E
square
#6B1B9E #9E291B #4E9E1B #1B909E
split-complementary
#6B1B9E #909E1B #1B9E29
monochromatic
#240935 #48126A #6B1B9E #8E24D2 #AA52E1

Accessibility & contrast

On white

9.23
#6B1B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6B1B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1B9E
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1B9E#FFFFFF#000000##FFFFFF
##6B1B9E1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#623F5E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6b1b9e;
/* rgb */ color: rgb(107, 27, 158);
/* oklch */ color: oklch(42.5% 0.194 307.2);
Tailwind
colors: {
  custom: {
    50: '#9b63bc',
    500: '#6b1b9e',
    950: '#000000',
  },
}
SCSS
$custom: #6b1b9e;
$custom-light: #9b63bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1b9e",
  "rgb": {
    "r": 107,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 276.641,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42488,
    "c": 0.19415,
    "h": 307.2
  },
  "luminance": 0.06378
}

Semantic roles & 50–950 ramp

primary
#6B1B9E
secondary
#7EC451
accent
#EE3A80
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6B1B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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