#6D2DB4#6D2DB4

#6D2DB4 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.3% C 0.199 H 300.1°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#6D2DB4
RGBrgb(109, 45, 180)
HSLhsl(268, 60%, 44%)
HSVhsv(268, 75%, 71%)
CMYKcmyk(39.4%, 75%, 0%, 29.4%)
CIE-LABlab(34.85, 53.88, -60.17)
CIE-LCHlch(34.85, 80.77, 311.84°)
OKLaboklab(46.26% 0.0998 -0.1719)
OKLCHoklch(46.26% 0.199 300.1)
XYZxyz(15.4812, 8.4231, 43.9814)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2DB4 #74B42D
analogous
#2D31B4 #6D2DB4 #B12DB4
triadic
#6D2DB4 #B46D2D #2DB46D
tetradic
#6D2DB4 #B42D31 #74B42D #2DB4B1
square
#6D2DB4 #B42D31 #74B42D #2DB4B1
split-complementary
#6D2DB4 #B4B12D #31B42D
monochromatic
#321552 #4F2183 #6D2DB4 #8C4CD2 #AB7DDE

Accessibility & contrast

On white

7.82
#6D2DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6D2DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2DB4
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2DB4#FFFFFF#000000##FFFFFF
##6D2DB41.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#5D506F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6d2db4;
/* rgb */ color: rgb(109, 45, 180);
/* oklch */ color: oklch(46.3% 0.199 300.1);
Tailwind
colors: {
  custom: {
    50: '#9d6ccb',
    500: '#6d2db4',
    950: '#000000',
  },
}
SCSS
$custom: #6d2db4;
$custom-light: #9d6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2db4",
  "rgb": {
    "r": 109,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 268.444,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46261,
    "c": 0.19874,
    "h": 300.1
  },
  "luminance": 0.08423
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D2DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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