#6D2DB8#6D2DB8

#6D2DB8 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.6% C 0.203 H 299.1°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#6D2DB8
RGBrgb(109, 45, 184)
HSLhsl(268, 61%, 45%)
HSVhsv(268, 76%, 72%)
CMYKcmyk(40.8%, 75.5%, 0%, 27.8%)
CIE-LABlab(35.18, 54.87, -62.00)
CIE-LCHlch(35.18, 82.79, 311.51°)
OKLaboklab(46.6% 0.0988 -0.1772)
OKLCHoklch(46.6% 0.203 299.1)
XYZxyz(15.8946, 8.5885, 46.1584)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2DB8 #78B82D
analogous
#2D32B8 #6D2DB8 #B32DB8
triadic
#6D2DB8 #B86D2D #2DB86D
tetradic
#6D2DB8 #B82D32 #78B82D #2DB8B3
square
#6D2DB8 #B82D32 #78B82D #2DB8B3
split-complementary
#6D2DB8 #B8B32D #32B82D
monochromatic
#331556 #502187 #6D2DB8 #8C4ED4 #AC80E0

Accessibility & contrast

On white

7.73
#6D2DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6D2DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2DB8
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2DB8#FFFFFF#000000##FFFFFF
##6D2DB81.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0051B5
Tritanopia (blue-blind)
#5B5171
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6d2db8;
/* rgb */ color: rgb(109, 45, 184);
/* oklch */ color: oklch(46.6% 0.203 299.1);
Tailwind
colors: {
  custom: {
    50: '#9e6dce',
    500: '#6d2db8',
    950: '#000000',
  },
}
SCSS
$custom: #6d2db8;
$custom-light: #9e6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2db8",
  "rgb": {
    "r": 109,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 267.626,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46596,
    "c": 0.20294,
    "h": 299.1
  },
  "luminance": 0.08589
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D2DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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