#6D1E7B#6D1E7B

#6D1E7B is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.159 H 321.2°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#6D1E7B
RGBrgb(109, 30, 123)
HSLhsl(291, 61%, 30%)
HSVhsv(291, 76%, 48%)
CMYKcmyk(11.4%, 75.6%, 0%, 51.8%)
CIE-LABlab(28.41, 47.32, -35.73)
CIE-LCHlch(28.41, 59.29, 322.94°)
OKLaboklab(40.36% 0.1242 -0.1)
OKLCHoklch(40.36% 0.159 321.2)
XYZxyz(10.3457, 5.6104, 19.2730)
Luminance0.0561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1E7B #2C7B1E
analogous
#3F1E7B #6D1E7B #7B1E5A
triadic
#6D1E7B #7B6D1E #1E7B6D
tetradic
#6D1E7B #7B3F1E #2C7B1E #1E5A7B
square
#6D1E7B #7B3F1E #2C7B1E #1E5A7B
split-complementary
#6D1E7B #5A7B1E #1E7B3F
monochromatic
#160619 #41124A #6D1E7B #992AAC #BC42D1

Accessibility & contrast

On white

9.90
#6D1E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6D1E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1E7B
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1E7B#FFFFFF#000000##FFFFFF
##6D1E7B1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7E
Deuteranopia (green-blind)
#294679
Tritanopia (blue-blind)
#6E304B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6d1e7b;
/* rgb */ color: rgb(109, 30, 123);
/* oklch */ color: oklch(40.4% 0.159 321.2);
Tailwind
colors: {
  custom: {
    50: '#9a63a2',
    500: '#6d1e7b',
    950: '#000000',
  },
}
SCSS
$custom: #6d1e7b;
$custom-light: #9a63a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1e7b",
  "rgb": {
    "r": 109,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 290.968,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.4036,
    "c": 0.15942,
    "h": 321.2
  },
  "luminance": 0.0561
}

Semantic roles & 50–950 ramp

primary
#6D1E7B
secondary
#56AE46
accent
#E4445C
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6D1E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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