#6E2DB9#6E2DB9

#6E2DB9 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.8% C 0.204 H 299.4°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#6E2DB9
RGBrgb(110, 45, 185)
HSLhsl(268, 61%, 45%)
HSVhsv(268, 76%, 73%)
CMYKcmyk(40.5%, 75.7%, 0%, 27.5%)
CIE-LABlab(35.39, 55.28, -62.25)
CIE-LCHlch(35.39, 83.25, 311.61°)
OKLaboklab(46.8% 0.1001 -0.1779)
OKLCHoklch(46.8% 0.204 299.4)
XYZxyz(16.1235, 8.6943, 46.7182)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2DB9 #78B92D
analogous
#2D32B9 #6E2DB9 #B42DB9
triadic
#6E2DB9 #B96E2D #2DB96E
tetradic
#6E2DB9 #B92D32 #78B92D #2DB9B4
square
#6E2DB9 #B92D32 #78B92D #2DB9B4
split-complementary
#6E2DB9 #B9B42D #32B92D
monochromatic
#331557 #512188 #6E2DB9 #8D4FD4 #AD80E0

Accessibility & contrast

On white

7.67
#6E2DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6E2DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2DB9
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2DB9#FFFFFF#000000##FFFFFF
##6E2DB91.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0052B6
Tritanopia (blue-blind)
#5C5271
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6e2db9;
/* rgb */ color: rgb(110, 45, 185);
/* oklch */ color: oklch(46.8% 0.204 299.4);
Tailwind
colors: {
  custom: {
    50: '#9e6dcf',
    500: '#6e2db9',
    950: '#000000',
  },
}
SCSS
$custom: #6e2db9;
$custom-light: #9e6dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2db9",
  "rgb": {
    "r": 110,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 267.857,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46797,
    "c": 0.20412,
    "h": 299.4
  },
  "luminance": 0.08695
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6E2DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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