#6B1E9D#6B1E9D

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

Color values

HEX#6B1E9D
RGBrgb(107, 30, 157)
HSLhsl(276, 68%, 37%)
HSVhsv(276, 81%, 62%)
CMYKcmyk(31.8%, 80.9%, 0%, 38.4%)
CIE-LABlab(30.61, 54.11, -53.26)
CIE-LCHlch(30.61, 75.93, 315.45°)
OKLaboklab(42.65% 0.1155 -0.1515)
OKLCHoklch(42.65% 0.191 307.3)
XYZxyz(12.6122, 6.4888, 32.4798)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1E9D #509D1E
analogous
#2C1E9D #6B1E9D #9D1E90
triadic
#6B1E9D #9D6B1E #1E9D6B
tetradic
#6B1E9D #9D2C1E #509D1E #1E909D
square
#6B1E9D #9D2C1E #509D1E #1E909D
split-complementary
#6B1E9D #909D1E #1E9D2C
monochromatic
#250A36 #48146A #6B1E9D #8E28D0 #A957DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B1E9D#FFFFFF#000000##FFFFFF
##6B1E9D1.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)
#0046A0
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#623F5E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6b1e9d;
/* rgb */ color: rgb(107, 30, 157);
/* oklch */ color: oklch(42.6% 0.191 307.3);
Tailwind
colors: {
  custom: {
    50: '#9b64bb',
    500: '#6b1e9d',
    950: '#000000',
  },
}
SCSS
$custom: #6b1e9d;
$custom-light: #9b64bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1e9d",
  "rgb": {
    "r": 107,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 276.378,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42647,
    "c": 0.19052,
    "h": 307.3
  },
  "luminance": 0.06489
}

Semantic roles & 50–950 ramp

primary
#6B1E9D
secondary
#80C254
accent
#EB3D81
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6B1E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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