#6D2A9B#6D2A9B

#6D2A9B is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.9% C 0.176 H 307.7°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#6D2A9B
RGBrgb(109, 42, 155)
HSLhsl(276, 57%, 39%)
HSVhsv(276, 73%, 61%)
CMYKcmyk(29.7%, 72.9%, 0%, 39.2%)
CIE-LABlab(32.42, 49.23, -49.10)
CIE-LCHlch(32.42, 69.52, 315.08°)
OKLaboklab(43.93% 0.1077 -0.1393)
OKLCHoklch(43.93% 0.176 307.7)
XYZxyz(13.0498, 7.2739, 31.7205)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2A9B #589B2A
analogous
#342A9B #6D2A9B #9B2A90
triadic
#6D2A9B #9B6D2A #2A9B6D
tetradic
#6D2A9B #9B342A #589B2A #2A909B
square
#6D2A9B #9B342A #589B2A #2A909B
split-complementary
#6D2A9B #909B2A #2A9B34
monochromatic
#29103B #4B1D6B #6D2A9B #8F39C9 #AA69D6

Accessibility & contrast

On white

8.55
#6D2A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6D2A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2A9B
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2A9B#FFFFFF#000000##FFFFFF
##6D2A9B1.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#054D99
Tritanopia (blue-blind)
#664460
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6d2a9b;
/* rgb */ color: rgb(109, 42, 155);
/* oklch */ color: oklch(43.9% 0.176 307.7);
Tailwind
colors: {
  custom: {
    50: '#9b6ab9',
    500: '#6d2a9b',
    950: '#000000',
  },
}
SCSS
$custom: #6d2a9b;
$custom-light: #9b6ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2a9b",
  "rgb": {
    "r": 109,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 275.575,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43933,
    "c": 0.17609,
    "h": 307.7
  },
  "luminance": 0.07274
}

Semantic roles & 50–950 ramp

primary
#6D2A9B
secondary
#88BD64
accent
#E14786
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6D2A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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