#6D1B9E#6D1B9E

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

Color values

HEX#6D1B9E
RGBrgb(109, 27, 158)
HSLhsl(278, 71%, 36%)
HSVhsv(278, 83%, 62%)
CMYKcmyk(31%, 82.9%, 0%, 38%)
CIE-LABlab(30.65, 55.67, -53.80)
CIE-LCHlch(30.65, 77.42, 315.98°)
OKLaboklab(42.76% 0.1203 -0.153)
OKLCHoklch(42.76% 0.195 308.2)
XYZxyz(12.8689, 6.5039, 32.9186)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1B9E #4C9E1B
analogous
#2B1B9E #6D1B9E #9E1B8E
triadic
#6D1B9E #9E6D1B #1B9E6D
tetradic
#6D1B9E #9E2B1B #4C9E1B #1B8E9E
square
#6D1B9E #9E2B1B #4C9E1B #1B8E9E
split-complementary
#6D1B9E #8E9E1B #1B9E2B
monochromatic
#250935 #49126A #6D1B9E #9124D2 #AC52E1

Accessibility & contrast

On white

9.13
#6D1B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D1B9E
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1B9E#FFFFFF#000000##FFFFFF
##6D1B9E1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#653E5E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6d1b9e;
/* rgb */ color: rgb(109, 27, 158);
/* oklch */ color: oklch(42.8% 0.195 308.2);
Tailwind
colors: {
  custom: {
    50: '#9c63bc',
    500: '#6d1b9e',
    950: '#000000',
  },
}
SCSS
$custom: #6d1b9e;
$custom-light: #9c63bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1b9e",
  "rgb": {
    "r": 109,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 277.557,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4276,
    "c": 0.19466,
    "h": 308.2
  },
  "luminance": 0.06504
}

Semantic roles & 50–950 ramp

primary
#6D1B9E
secondary
#7CC451
accent
#EE3A7D
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D1B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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