#6D159D#6D159D

#6D159D is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.3% C 0.198 H 308.9°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#6D159D
RGBrgb(109, 21, 157)
HSLhsl(279, 76%, 35%)
HSVhsv(279, 87%, 62%)
CMYKcmyk(30.6%, 86.6%, 0%, 38.4%)
CIE-LABlab(29.97, 57.22, -54.31)
CIE-LCHlch(29.97, 78.89, 316.49°)
OKLaboklab(42.26% 0.1246 -0.1545)
OKLCHoklch(42.26% 0.198 308.9)
XYZxyz(12.6594, 6.2221, 32.4258)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D159D #459D15
analogous
#29159D #6D159D #9D1589
triadic
#6D159D #9D6D15 #159D6D
tetradic
#6D159D #9D2915 #459D15 #15899D
square
#6D159D #9D2915 #459D15 #15899D
split-complementary
#6D159D #899D15 #159D29
monochromatic
#220731 #480E67 #6D159D #921CD3 #AE46E6

Accessibility & contrast

On white

9.36
#6D159D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6D159D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D159D
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D159D#FFFFFF#000000##FFFFFF
##6D159D1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#653C5D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6d159d;
/* rgb */ color: rgb(109, 21, 157);
/* oklch */ color: oklch(42.3% 0.198 308.9);
Tailwind
colors: {
  custom: {
    50: '#9c61bb',
    500: '#6d159d',
    950: '#000000',
  },
}
SCSS
$custom: #6d159d;
$custom-light: #9c61bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d159d",
  "rgb": {
    "r": 109,
    "g": 21,
    "b": 157
  },
  "hsl": {
    "h": 278.824,
    "s": 76.404,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4226,
    "c": 0.19847,
    "h": 308.9
  },
  "luminance": 0.06222
}

Semantic roles & 50–950 ramp

primary
#6D159D
secondary
#74C747
accent
#F33578
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D159D

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

Preview Lab → · Contrast checker → · Palette generator →

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