#6E2DB3#6E2DB3

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

Color values

HEX#6E2DB3
RGBrgb(110, 45, 179)
HSLhsl(269, 60%, 44%)
HSVhsv(269, 75%, 70%)
CMYKcmyk(38.5%, 74.9%, 0%, 29.8%)
CIE-LABlab(34.90, 53.81, -59.50)
CIE-LCHlch(34.90, 80.22, 312.13°)
OKLaboklab(46.3% 0.1015 -0.1698)
OKLCHoklch(46.3% 0.198 300.9)
XYZxyz(15.5035, 8.4463, 43.4526)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2DB3 #72B32D
analogous
#2D2FB3 #6E2DB3 #B12DB3
triadic
#6E2DB3 #B36E2D #2DB36E
tetradic
#6E2DB3 #B32D2F #72B32D #2DB3B1
square
#6E2DB3 #B32D2F #72B32D #2DB3B1
split-complementary
#6E2DB3 #B3B12D #2FB32D
monochromatic
#321451 #502182 #6E2DB3 #8D4BD2 #AC7CDE

Accessibility & contrast

On white

7.81
#6E2DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6E2DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2DB3
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2DB3#FFFFFF#000000##FFFFFF
##6E2DB31.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e2db3;
/* rgb */ color: rgb(110, 45, 179);
/* oklch */ color: oklch(46.3% 0.198 300.9);
Tailwind
colors: {
  custom: {
    50: '#9e6dcb',
    500: '#6e2db3',
    950: '#000000',
  },
}
SCSS
$custom: #6e2db3;
$custom-light: #9e6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2db3",
  "rgb": {
    "r": 110,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 269.104,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46297,
    "c": 0.19786,
    "h": 300.9
  },
  "luminance": 0.08446
}

Semantic roles & 50–950 ramp

primary
#6E2DB3
secondary
#9FC775
accent
#E34596
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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