#6D2CA2#6D2CA2

#6D2CA2 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.7% C 0.181 H 305.3°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#6D2CA2
RGBrgb(109, 44, 162)
HSLhsl(273, 57%, 40%)
HSVhsv(273, 73%, 64%)
CMYKcmyk(32.7%, 72.8%, 0%, 36.5%)
CIE-LABlab(33.27, 49.97, -51.97)
CIE-LCHlch(33.27, 72.10, 313.88°)
OKLaboklab(44.7% 0.1045 -0.1477)
OKLCHoklch(44.7% 0.181 305.3)
XYZxyz(13.7275, 7.6613, 34.9310)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2CA2 #61A22C
analogous
#322CA2 #6D2CA2 #A22C9C
triadic
#6D2CA2 #A26D2C #2CA26D
tetradic
#6D2CA2 #A2322C #61A22C #2C9CA2
square
#6D2CA2 #A2322C #61A22C #2C9CA2
split-complementary
#6D2CA2 #9CA22C #2CA232
monochromatic
#2C1242 #4D1F72 #6D2CA2 #8D40CB #A970D8

Accessibility & contrast

On white

8.29
#6D2CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D2CA2
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2CA2#FFFFFF#000000##FFFFFF
##6D2CA21.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#634864
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6d2ca2;
/* rgb */ color: rgb(109, 44, 162);
/* oklch */ color: oklch(44.7% 0.181 305.3);
Tailwind
colors: {
  custom: {
    50: '#9c6bbe',
    500: '#6d2ca2',
    950: '#000000',
  },
}
SCSS
$custom: #6d2ca2;
$custom-light: #9c6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2ca2",
  "rgb": {
    "r": 109,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 273.051,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44698,
    "c": 0.18096,
    "h": 305.3
  },
  "luminance": 0.07661
}

Semantic roles & 50–950 ramp

primary
#6D2CA2
secondary
#91BF6A
accent
#E1478C
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6D2CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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