#6D2DB3#6D2DB3

#6D2DB3 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.2% C 0.198 H 300.4°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#6D2DB3
RGBrgb(109, 45, 179)
HSLhsl(269, 60%, 44%)
HSVhsv(269, 75%, 70%)
CMYKcmyk(39.1%, 74.9%, 0%, 29.8%)
CIE-LABlab(34.77, 53.64, -59.71)
CIE-LCHlch(34.77, 80.27, 311.93°)
OKLaboklab(46.18% 0.1 -0.1705)
OKLCHoklch(46.18% 0.198 300.4)
XYZxyz(15.3797, 8.3825, 43.4468)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2DB3 #73B32D
analogous
#2D30B3 #6D2DB3 #B02DB3
triadic
#6D2DB3 #B36D2D #2DB36D
tetradic
#6D2DB3 #B32D30 #73B32D #2DB3B0
square
#6D2DB3 #B32D30 #73B32D #2DB3B0
split-complementary
#6D2DB3 #B3B02D #30B32D
monochromatic
#311451 #4F2182 #6D2DB3 #8C4BD2 #AB7CDE

Accessibility & contrast

On white

7.85
#6D2DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D2DB3
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2DB3#FFFFFF#000000##FFFFFF
##6D2DB31.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#5D4F6E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6d2db3;
/* rgb */ color: rgb(109, 45, 179);
/* oklch */ color: oklch(46.2% 0.198 300.4);
Tailwind
colors: {
  custom: {
    50: '#9d6ccb',
    500: '#6d2db3',
    950: '#000000',
  },
}
SCSS
$custom: #6d2db3;
$custom-light: #9d6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2db3",
  "rgb": {
    "r": 109,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 268.657,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46178,
    "c": 0.19769,
    "h": 300.4
  },
  "luminance": 0.08383
}

Semantic roles & 50–950 ramp

primary
#6D2DB3
secondary
#A0C775
accent
#E34597
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D2DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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