#6D2EA2#6D2EA2

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

Color values

HEX#6D2EA2
RGBrgb(109, 46, 162)
HSLhsl(273, 56%, 41%)
HSVhsv(273, 72%, 64%)
CMYKcmyk(32.7%, 71.6%, 0%, 36.5%)
CIE-LABlab(33.59, 49.06, -51.44)
CIE-LCHlch(33.59, 71.09, 313.64°)
OKLaboklab(44.93% 0.1024 -0.1462)
OKLCHoklch(44.93% 0.179 305)
XYZxyz(13.8038, 7.8139, 34.9564)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2EA2 #63A22E
analogous
#332EA2 #6D2EA2 #A22E9D
triadic
#6D2EA2 #A26D2E #2EA26D
tetradic
#6D2EA2 #A2332E #63A22E #2E9DA2
square
#6D2EA2 #A2332E #63A22E #2E9DA2
split-complementary
#6D2EA2 #9DA22E #2EA233
monochromatic
#2D1343 #4D2072 #6D2EA2 #8C43CA #AA73D7

Accessibility & contrast

On white

8.19
#6D2EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D2EA2
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2EA2#FFFFFF#000000##FFFFFF
##6D2EA21.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#634965
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6d2ea2;
/* rgb */ color: rgb(109, 46, 162);
/* oklch */ color: oklch(44.9% 0.179 305.0);
Tailwind
colors: {
  custom: {
    50: '#9c6cbe',
    500: '#6d2ea2',
    950: '#000000',
  },
}
SCSS
$custom: #6d2ea2;
$custom-light: #9c6cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2ea2",
  "rgb": {
    "r": 109,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 272.586,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44929,
    "c": 0.17852,
    "h": 305
  },
  "luminance": 0.07814
}

Semantic roles & 50–950 ramp

primary
#6D2EA2
secondary
#92BF6D
accent
#DF498D
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6D2EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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