#6D1CA8#6D1CA8

#6D1CA8 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.7% C 0.203 H 305.1°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#6D1CA8
RGBrgb(109, 28, 168)
HSLhsl(275, 71%, 38%)
HSVhsv(275, 83%, 66%)
CMYKcmyk(35.1%, 83.3%, 0%, 34.1%)
CIE-LABlab(31.60, 57.55, -58.31)
CIE-LCHlch(31.60, 81.93, 314.63°)
OKLaboklab(43.68% 0.1167 -0.1663)
OKLCHoklch(43.68% 0.203 305.1)
XYZxyz(13.7882, 6.9090, 37.6454)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1CA8 #57A81C
analogous
#271CA8 #6D1CA8 #A81C9D
triadic
#6D1CA8 #A86D1C #1CA86D
tetradic
#6D1CA8 #A8271C #57A81C #1C9DA8
square
#6D1CA8 #A8271C #57A81C #1C9DA8
split-complementary
#6D1CA8 #9DA81C #1CA827
monochromatic
#290B3F #4B1374 #6D1CA8 #8F26DB #AA5BE4

Accessibility & contrast

On white

8.82
#6D1CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D1CA8
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1CA8#FFFFFF#000000##FFFFFF
##6D1CA81.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#004AA5
Tritanopia (blue-blind)
#624364
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6d1ca8;
/* rgb */ color: rgb(109, 28, 168);
/* oklch */ color: oklch(43.7% 0.203 305.1);
Tailwind
colors: {
  custom: {
    50: '#9d64c3',
    500: '#6d1ca8',
    950: '#000000',
  },
}
SCSS
$custom: #6d1ca8;
$custom-light: #9d64c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1ca8",
  "rgb": {
    "r": 109,
    "g": 28,
    "b": 168
  },
  "hsl": {
    "h": 274.714,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43679,
    "c": 0.20312,
    "h": 305.1
  },
  "luminance": 0.06909
}

Semantic roles & 50–950 ramp

primary
#6D1CA8
secondary
#87C758
accent
#EE3A86
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6D1CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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