#6D2CA1#6D2CA1

#6D2CA1 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.6% C 0.180 H 305.6°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#6D2CA1
RGBrgb(109, 44, 161)
HSLhsl(273, 57%, 40%)
HSVhsv(273, 73%, 63%)
CMYKcmyk(32.3%, 72.7%, 0%, 36.9%)
CIE-LABlab(33.19, 49.74, -51.49)
CIE-LCHlch(33.19, 71.59, 314.01°)
OKLaboklab(44.62% 0.1047 -0.1463)
OKLCHoklch(44.62% 0.18 305.6)
XYZxyz(13.6390, 7.6259, 34.4647)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2CA1 #60A12C
analogous
#322CA1 #6D2CA1 #A12C9B
triadic
#6D2CA1 #A16D2C #2CA16D
tetradic
#6D2CA1 #A1322C #60A12C #2C9BA1
square
#6D2CA1 #A1322C #60A12C #2C9BA1
split-complementary
#6D2CA1 #9BA12C #2CA132
monochromatic
#2C1241 #4C1F71 #6D2CA1 #8D40CB #A970D8

Accessibility & contrast

On white

8.32
#6D2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6D2CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2CA1
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2CA1#FFFFFF#000000##FFFFFF
##6D2CA11.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#004E9F
Tritanopia (blue-blind)
#644864
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6d2ca1;
/* rgb */ color: rgb(109, 44, 161);
/* oklch */ color: oklch(44.6% 0.180 305.6);
Tailwind
colors: {
  custom: {
    50: '#9c6bbe',
    500: '#6d2ca1',
    950: '#000000',
  },
}
SCSS
$custom: #6d2ca1;
$custom-light: #9c6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2ca1",
  "rgb": {
    "r": 109,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 273.333,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44621,
    "c": 0.17991,
    "h": 305.6
  },
  "luminance": 0.07626
}

Semantic roles & 50–950 ramp

primary
#6D2CA1
secondary
#90BF6A
accent
#E0478B
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6D2CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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