#6D2DB7#6D2DB7

#6D2DB7 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.5% C 0.202 H 299.4°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#6D2DB7
RGBrgb(109, 45, 183)
HSLhsl(268, 61%, 45%)
HSVhsv(268, 75%, 72%)
CMYKcmyk(40.4%, 75.4%, 0%, 28.2%)
CIE-LABlab(35.10, 54.62, -61.55)
CIE-LCHlch(35.10, 82.29, 311.59°)
OKLaboklab(46.51% 0.0991 -0.1759)
OKLCHoklch(46.51% 0.202 299.4)
XYZxyz(15.7901, 8.5467, 45.6083)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2DB7 #77B72D
analogous
#2D32B7 #6D2DB7 #B22DB7
triadic
#6D2DB7 #B76D2D #2DB76D
tetradic
#6D2DB7 #B72D32 #77B72D #2DB7B2
square
#6D2DB7 #B72D32 #77B72D #2DB7B2
split-complementary
#6D2DB7 #B7B22D #32B72D
monochromatic
#321555 #502186 #6D2DB7 #8C4ED3 #AC7FDF

Accessibility & contrast

On white

7.75
#6D2DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6D2DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2DB7
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2DB7#FFFFFF#000000##FFFFFF
##6D2DB71.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0051B4
Tritanopia (blue-blind)
#5B5170
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6d2db7;
/* rgb */ color: rgb(109, 45, 183);
/* oklch */ color: oklch(46.5% 0.202 299.4);
Tailwind
colors: {
  custom: {
    50: '#9e6dce',
    500: '#6d2db7',
    950: '#000000',
  },
}
SCSS
$custom: #6d2db7;
$custom-light: #9e6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2db7",
  "rgb": {
    "r": 109,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 267.826,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46512,
    "c": 0.20189,
    "h": 299.4
  },
  "luminance": 0.08547
}

Semantic roles & 50–950 ramp

primary
#6D2DB7
secondary
#A3C878
accent
#E4449A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6D2DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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