#6D159E#6D159E

#6D159E is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.3% C 0.199 H 308.6°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#6D159E
RGBrgb(109, 21, 158)
HSLhsl(279, 77%, 35%)
HSVhsv(279, 87%, 62%)
CMYKcmyk(31%, 86.7%, 0%, 38%)
CIE-LABlab(30.05, 57.43, -54.78)
CIE-LCHlch(30.05, 79.36, 316.35°)
OKLaboklab(42.34% 0.1243 -0.1558)
OKLCHoklch(42.34% 0.199 308.6)
XYZxyz(12.7451, 6.2564, 32.8773)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D159E #469E15
analogous
#28159E #6D159E #9E158A
triadic
#6D159E #9E6D15 #159E6D
tetradic
#6D159E #9E2815 #469E15 #158A9E
square
#6D159E #9E2815 #469E15 #158A9E
split-complementary
#6D159E #8A9E15 #159E28
monochromatic
#220732 #480E68 #6D159E #921CD4 #AD47E7

Accessibility & contrast

On white

9.33
#6D159E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6D159E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D159E
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D159E#FFFFFF#000000##FFFFFF
##6D159E1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#653C5D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6d159e;
/* rgb */ color: rgb(109, 21, 158);
/* oklch */ color: oklch(42.3% 0.199 308.6);
Tailwind
colors: {
  custom: {
    50: '#9c61bc',
    500: '#6d159e',
    950: '#000000',
  },
}
SCSS
$custom: #6d159e;
$custom-light: #9c61bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d159e",
  "rgb": {
    "r": 109,
    "g": 21,
    "b": 158
  },
  "hsl": {
    "h": 278.54,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42344,
    "c": 0.19936,
    "h": 308.6
  },
  "luminance": 0.06256
}

Semantic roles & 50–950 ramp

primary
#6D159E
secondary
#75C747
accent
#F33579
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D159E

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

Preview Lab → · Contrast checker → · Palette generator →

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