#6E2DB8#6E2DB8

#6E2DB8 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.7% C 0.203 H 299.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#6E2DB8
RGBrgb(110, 45, 184)
HSLhsl(268, 61%, 45%)
HSVhsv(268, 76%, 72%)
CMYKcmyk(40.2%, 75.5%, 0%, 27.8%)
CIE-LABlab(35.31, 55.04, -61.79)
CIE-LCHlch(35.31, 82.75, 311.69°)
OKLaboklab(46.71% 0.1003 -0.1766)
OKLCHoklch(46.71% 0.203 299.6)
XYZxyz(16.0183, 8.6523, 46.1642)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2DB8 #77B82D
analogous
#2D31B8 #6E2DB8 #B42DB8
triadic
#6E2DB8 #B86E2D #2DB86E
tetradic
#6E2DB8 #B82D31 #77B82D #2DB8B4
square
#6E2DB8 #B82D31 #77B82D #2DB8B4
split-complementary
#6E2DB8 #B8B42D #31B82D
monochromatic
#331556 #512187 #6E2DB8 #8D4ED4 #AD80E0

Accessibility & contrast

On white

7.69
#6E2DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6E2DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2DB8
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2DB8#FFFFFF#000000##FFFFFF
##6E2DB81.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e2db8;
/* rgb */ color: rgb(110, 45, 184);
/* oklch */ color: oklch(46.7% 0.203 299.6);
Tailwind
colors: {
  custom: {
    50: '#9e6dce',
    500: '#6e2db8',
    950: '#000000',
  },
}
SCSS
$custom: #6e2db8;
$custom-light: #9e6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2db8",
  "rgb": {
    "r": 110,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 268.058,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46713,
    "c": 0.20309,
    "h": 299.6
  },
  "luminance": 0.08652
}

Semantic roles & 50–950 ramp

primary
#6E2DB8
secondary
#A3C978
accent
#E44499
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6E2DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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