#6D2EA1#6D2EA1

#6D2EA1 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.9% C 0.177 H 305.3°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#6D2EA1
RGBrgb(109, 46, 161)
HSLhsl(273, 56%, 41%)
HSVhsv(273, 71%, 63%)
CMYKcmyk(32.3%, 71.4%, 0%, 36.9%)
CIE-LABlab(33.52, 48.82, -50.96)
CIE-LCHlch(33.52, 70.57, 313.77°)
OKLaboklab(44.85% 0.1026 -0.1448)
OKLCHoklch(44.85% 0.177 305.3)
XYZxyz(13.7153, 7.7785, 34.4902)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2EA1 #62A12E
analogous
#342EA1 #6D2EA1 #A12E9B
triadic
#6D2EA1 #A16D2E #2EA16D
tetradic
#6D2EA1 #A1342E #62A12E #2E9BA1
square
#6D2EA1 #A1342E #62A12E #2E9BA1
split-complementary
#6D2EA1 #9BA12E #2EA134
monochromatic
#2D1342 #4D2071 #6D2EA1 #8D43C9 #A973D7

Accessibility & contrast

On white

8.22
#6D2EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6D2EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2EA1
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2EA1#FFFFFF#000000##FFFFFF
##6D2EA11.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#004F9F
Tritanopia (blue-blind)
#644964
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6d2ea1;
/* rgb */ color: rgb(109, 46, 161);
/* oklch */ color: oklch(44.9% 0.177 305.3);
Tailwind
colors: {
  custom: {
    50: '#9b6cbe',
    500: '#6d2ea1',
    950: '#000000',
  },
}
SCSS
$custom: #6d2ea1;
$custom-light: #9b6cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2ea1",
  "rgb": {
    "r": 109,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 272.87,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44852,
    "c": 0.17745,
    "h": 305.3
  },
  "luminance": 0.07778
}

Semantic roles & 50–950 ramp

primary
#6D2EA1
secondary
#91BE6C
accent
#DF498D
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6D2EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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