#6D1EA5#6D1EA5

#6D1EA5 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.6% C 0.199 H 305.8°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#6D1EA5
RGBrgb(109, 30, 165)
HSLhsl(275, 69%, 38%)
HSVhsv(275, 82%, 65%)
CMYKcmyk(33.9%, 81.8%, 0%, 35.3%)
CIE-LABlab(31.57, 56.23, -56.54)
CIE-LCHlch(31.57, 79.74, 314.84°)
OKLaboklab(43.58% 0.1162 -0.1611)
OKLCHoklch(43.58% 0.199 305.8)
XYZxyz(13.5610, 6.8965, 36.2068)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1EA5 #56A51E
analogous
#291EA5 #6D1EA5 #A51E99
triadic
#6D1EA5 #A56D1E #1EA56D
tetradic
#6D1EA5 #A5291E #56A51E #1E99A5
square
#6D1EA5 #A5291E #56A51E #1E99A5
split-complementary
#6D1EA5 #99A51E #1EA529
monochromatic
#290B3D #4B1571 #6D1EA5 #8F28D8 #AA5CE1

Accessibility & contrast

On white

8.83
#6D1EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6D1EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1EA5
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1EA5#FFFFFF#000000##FFFFFF
##6D1EA51.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#634363
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6d1ea5;
/* rgb */ color: rgb(109, 30, 165);
/* oklch */ color: oklch(43.6% 0.199 305.8);
Tailwind
colors: {
  custom: {
    50: '#9d65c1',
    500: '#6d1ea5',
    950: '#000000',
  },
}
SCSS
$custom: #6d1ea5;
$custom-light: #9d65c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1ea5",
  "rgb": {
    "r": 109,
    "g": 30,
    "b": 165
  },
  "hsl": {
    "h": 275.111,
    "s": 69.231,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43581,
    "c": 0.19861,
    "h": 305.8
  },
  "luminance": 0.06896
}

Semantic roles & 50–950 ramp

primary
#6D1EA5
secondary
#86C559
accent
#EC3C85
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D1EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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