#6D2A9E#6D2A9E

#6D2A9E is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.2% C 0.179 H 306.7°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#6D2A9E
RGBrgb(109, 42, 158)
HSLhsl(275, 58%, 39%)
HSVhsv(275, 73%, 62%)
CMYKcmyk(31%, 73.4%, 0%, 38%)
CIE-LABlab(32.65, 49.93, -50.55)
CIE-LCHlch(32.65, 71.05, 314.64°)
OKLaboklab(44.16% 0.1072 -0.1436)
OKLCHoklch(44.16% 0.179 306.7)
XYZxyz(13.3049, 7.3759, 33.0639)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2A9E #5B9E2A
analogous
#332A9E #6D2A9E #9E2A95
triadic
#6D2A9E #9E6D2A #2A9E6D
tetradic
#6D2A9E #9E332A #5B9E2A #2A959E
square
#6D2A9E #9E332A #5B9E2A #2A959E
split-complementary
#6D2A9E #959E2A #2A9E33
monochromatic
#2A103D #4C1D6E #6D2A9E #8E3ACB #AA6BD8

Accessibility & contrast

On white

8.48
#6D2A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6D2A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2A9E
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2A9E#FFFFFF#000000##FFFFFF
##6D2A9E1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#004D9C
Tritanopia (blue-blind)
#654561
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6d2a9e;
/* rgb */ color: rgb(109, 42, 158);
/* oklch */ color: oklch(44.2% 0.179 306.7);
Tailwind
colors: {
  custom: {
    50: '#9b6abb',
    500: '#6d2a9e',
    950: '#000000',
  },
}
SCSS
$custom: #6d2a9e;
$custom-light: #9b6abb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2a9e",
  "rgb": {
    "r": 109,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 274.655,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44164,
    "c": 0.17919,
    "h": 306.7
  },
  "luminance": 0.07376
}

Semantic roles & 50–950 ramp

primary
#6D2A9E
secondary
#8BBE66
accent
#E14788
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6D2A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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