#6D2DB2#6D2DB2

#6D2DB2 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.1% C 0.197 H 300.7°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#6D2DB2
RGBrgb(109, 45, 178)
HSLhsl(269, 60%, 44%)
HSVhsv(269, 75%, 70%)
CMYKcmyk(38.8%, 74.7%, 0%, 30.2%)
CIE-LABlab(34.69, 53.39, -59.25)
CIE-LCHlch(34.69, 79.76, 312.02°)
OKLaboklab(46.1% 0.1003 -0.1692)
OKLCHoklch(46.1% 0.197 300.7)
XYZxyz(15.2790, 8.3422, 42.9161)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2DB2 #72B22D
analogous
#2D30B2 #6D2DB2 #AF2DB2
triadic
#6D2DB2 #B26D2D #2DB26D
tetradic
#6D2DB2 #B22D30 #72B22D #2DB2AF
square
#6D2DB2 #B22D30 #72B22D #2DB2AF
split-complementary
#6D2DB2 #B2AF2D #30B22D
monochromatic
#311450 #4F2181 #6D2DB2 #8C4BD1 #AB7CDE

Accessibility & contrast

On white

7.87
#6D2DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6D2DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2DB2
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2DB2#FFFFFF#000000##FFFFFF
##6D2DB21.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#5D4F6D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6d2db2;
/* rgb */ color: rgb(109, 45, 178);
/* oklch */ color: oklch(46.1% 0.197 300.7);
Tailwind
colors: {
  custom: {
    50: '#9d6cca',
    500: '#6d2db2',
    950: '#000000',
  },
}
SCSS
$custom: #6d2db2;
$custom-light: #9d6cca;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2db2",
  "rgb": {
    "r": 109,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 268.872,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46095,
    "c": 0.19664,
    "h": 300.7
  },
  "luminance": 0.08342
}

Semantic roles & 50–950 ramp

primary
#6D2DB2
secondary
#9FC675
accent
#E34597
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D2DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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