#6D2DB9#6D2DB9

#6D2DB9 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.7% C 0.204 H 298.9°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#6D2DB9
RGBrgb(109, 45, 185)
HSLhsl(267, 61%, 45%)
HSVhsv(267, 76%, 73%)
CMYKcmyk(41.1%, 75.7%, 0%, 27.5%)
CIE-LABlab(35.26, 55.12, -62.46)
CIE-LCHlch(35.26, 83.30, 311.43°)
OKLaboklab(46.68% 0.0986 -0.1786)
OKLCHoklch(46.68% 0.204 298.9)
XYZxyz(15.9998, 8.6305, 46.7124)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2DB9 #79B92D
analogous
#2D33B9 #6D2DB9 #B32DB9
triadic
#6D2DB9 #B96D2D #2DB96D
tetradic
#6D2DB9 #B92D33 #79B92D #2DB9B3
square
#6D2DB9 #B92D33 #79B92D #2DB9B3
split-complementary
#6D2DB9 #B9B32D #33B92D
monochromatic
#331557 #502188 #6D2DB9 #8C4FD4 #AC80E0

Accessibility & contrast

On white

7.70
#6D2DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6D2DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2DB9
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2DB9#FFFFFF#000000##FFFFFF
##6D2DB91.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0052B6
Tritanopia (blue-blind)
#5A5271
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6d2db9;
/* rgb */ color: rgb(109, 45, 185);
/* oklch */ color: oklch(46.7% 0.204 298.9);
Tailwind
colors: {
  custom: {
    50: '#9e6dcf',
    500: '#6d2db9',
    950: '#000000',
  },
}
SCSS
$custom: #6d2db9;
$custom-light: #9e6dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2db9",
  "rgb": {
    "r": 109,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 267.429,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4668,
    "c": 0.20399,
    "h": 298.9
  },
  "luminance": 0.08631
}

Semantic roles & 50–950 ramp

primary
#6D2DB9
secondary
#A4C979
accent
#E4449B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6D2DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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