#6D2BA2#6D2BA2

#6D2BA2 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.6% C 0.182 H 305.4°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#6D2BA2
RGBrgb(109, 43, 162)
HSLhsl(273, 58%, 40%)
HSVhsv(273, 73%, 64%)
CMYKcmyk(32.7%, 73.5%, 0%, 36.5%)
CIE-LABlab(33.11, 50.42, -52.23)
CIE-LCHlch(33.11, 72.60, 313.99°)
OKLaboklab(44.59% 0.1055 -0.1485)
OKLCHoklch(44.59% 0.182 305.4)
XYZxyz(13.6907, 7.5877, 34.9187)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2BA2 #60A22B
analogous
#312BA2 #6D2BA2 #A22B9C
triadic
#6D2BA2 #A26D2B #2BA26D
tetradic
#6D2BA2 #A2312B #60A22B #2B9CA2
square
#6D2BA2 #A2312B #60A22B #2B9CA2
split-complementary
#6D2BA2 #9CA22B #2BA231
monochromatic
#2C1141 #4C1E72 #6D2BA2 #8D3ECC #A96FD9

Accessibility & contrast

On white

8.34
#6D2BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6D2BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2BA2
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2BA2#FFFFFF#000000##FFFFFF
##6D2BA21.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d2ba2;
/* rgb */ color: rgb(109, 43, 162);
/* oklch */ color: oklch(44.6% 0.182 305.4);
Tailwind
colors: {
  custom: {
    50: '#9c6bbe',
    500: '#6d2ba2',
    950: '#000000',
  },
}
SCSS
$custom: #6d2ba2;
$custom-light: #9c6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2ba2",
  "rgb": {
    "r": 109,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 273.277,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44586,
    "c": 0.18215,
    "h": 305.4
  },
  "luminance": 0.07588
}

Semantic roles & 50–950 ramp

primary
#6D2BA2
secondary
#90C069
accent
#E1478B
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6D2BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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