#6D1EA6#6D1EA6

#6D1EA6 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.7% C 0.200 H 305.5°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#6D1EA6
RGBrgb(109, 30, 166)
HSLhsl(275, 69%, 38%)
HSVhsv(275, 82%, 65%)
CMYKcmyk(34.3%, 81.9%, 0%, 34.9%)
CIE-LABlab(31.65, 56.45, -57.01)
CIE-LCHlch(31.65, 80.23, 314.72°)
OKLaboklab(43.67% 0.1159 -0.1625)
OKLCHoklch(43.67% 0.2 305.5)
XYZxyz(13.6523, 6.9330, 36.6880)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1EA6 #57A61E
analogous
#291EA6 #6D1EA6 #A61E9B
triadic
#6D1EA6 #A66D1E #1EA66D
tetradic
#6D1EA6 #A6291E #57A61E #1E9BA6
square
#6D1EA6 #A6291E #57A61E #1E9BA6
split-complementary
#6D1EA6 #9BA61E #1EA629
monochromatic
#290B3E #4B1572 #6D1EA6 #8F29D8 #AA5DE2

Accessibility & contrast

On white

8.80
#6D1EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6D1EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1EA6
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1EA6#FFFFFF#000000##FFFFFF
##6D1EA61.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#004BA3
Tritanopia (blue-blind)
#624363
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6d1ea6;
/* rgb */ color: rgb(109, 30, 166);
/* oklch */ color: oklch(43.7% 0.200 305.5);
Tailwind
colors: {
  custom: {
    50: '#9d65c1',
    500: '#6d1ea6',
    950: '#000000',
  },
}
SCSS
$custom: #6d1ea6;
$custom-light: #9d65c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1ea6",
  "rgb": {
    "r": 109,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 274.853,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43665,
    "c": 0.19955,
    "h": 305.5
  },
  "luminance": 0.06933
}

Semantic roles & 50–950 ramp

primary
#6D1EA6
secondary
#87C65A
accent
#EC3C86
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D1EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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