#6D2DB6#6D2DB6

#6D2DB6 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.4% C 0.201 H 299.6°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#6D2DB6
RGBrgb(109, 45, 182)
HSLhsl(268, 60%, 45%)
HSVhsv(268, 75%, 71%)
CMYKcmyk(40.1%, 75.3%, 0%, 28.6%)
CIE-LABlab(35.01, 54.38, -61.09)
CIE-LCHlch(35.01, 81.78, 311.67°)
OKLaboklab(46.43% 0.0993 -0.1746)
OKLCHoklch(46.43% 0.201 299.6)
XYZxyz(15.6864, 8.5052, 45.0621)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2DB6 #76B62D
analogous
#2D32B6 #6D2DB6 #B12DB6
triadic
#6D2DB6 #B66D2D #2DB66D
tetradic
#6D2DB6 #B62D32 #76B62D #2DB6B1
square
#6D2DB6 #B62D32 #76B62D #2DB6B1
split-complementary
#6D2DB6 #B6B12D #32B62D
monochromatic
#321554 #502185 #6D2DB6 #8C4DD3 #AC7EDF

Accessibility & contrast

On white

7.77
#6D2DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6D2DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2DB6
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2DB6#FFFFFF#000000##FFFFFF
##6D2DB61.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0051B3
Tritanopia (blue-blind)
#5C5170
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6d2db6;
/* rgb */ color: rgb(109, 45, 182);
/* oklch */ color: oklch(46.4% 0.201 299.6);
Tailwind
colors: {
  custom: {
    50: '#9d6dcd',
    500: '#6d2db6',
    950: '#000000',
  },
}
SCSS
$custom: #6d2db6;
$custom-light: #9d6dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2db6",
  "rgb": {
    "r": 109,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 268.029,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46428,
    "c": 0.20084,
    "h": 299.6
  },
  "luminance": 0.08505
}

Semantic roles & 50–950 ramp

primary
#6D2DB6
secondary
#A2C877
accent
#E34499
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6D2DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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