#6D2DB5#6D2DB5

#6D2DB5 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.200 H 299.9°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#6D2DB5
RGBrgb(109, 45, 181)
HSLhsl(268, 60%, 44%)
HSVhsv(268, 75%, 71%)
CMYKcmyk(39.8%, 75.1%, 0%, 29%)
CIE-LABlab(34.93, 54.13, -60.63)
CIE-LCHlch(34.93, 81.28, 311.76°)
OKLaboklab(46.34% 0.0996 -0.1732)
OKLCHoklch(46.34% 0.2 299.9)
XYZxyz(15.5835, 8.4640, 44.5198)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2DB5 #75B52D
analogous
#2D31B5 #6D2DB5 #B12DB5
triadic
#6D2DB5 #B56D2D #2DB56D
tetradic
#6D2DB5 #B52D31 #75B52D #2DB5B1
square
#6D2DB5 #B52D31 #75B52D #2DB5B1
split-complementary
#6D2DB5 #B5B12D #31B52D
monochromatic
#321553 #4F2184 #6D2DB5 #8C4DD3 #AB7EDF

Accessibility & contrast

On white

7.80
#6D2DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6D2DB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2DB5
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2DB5#FFFFFF#000000##FFFFFF
##6D2DB51.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#5C506F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6d2db5;
/* rgb */ color: rgb(109, 45, 181);
/* oklch */ color: oklch(46.3% 0.200 299.9);
Tailwind
colors: {
  custom: {
    50: '#9d6dcc',
    500: '#6d2db5',
    950: '#000000',
  },
}
SCSS
$custom: #6d2db5;
$custom-light: #9d6dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2db5",
  "rgb": {
    "r": 109,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 268.235,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46344,
    "c": 0.19978,
    "h": 299.9
  },
  "luminance": 0.08464
}

Semantic roles & 50–950 ramp

primary
#6D2DB5
secondary
#A1C776
accent
#E34499
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D2DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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