#6E2D9D#6E2D9D

#6E2D9D is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.6% C 0.175 H 307.2°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#6E2D9D
RGBrgb(110, 45, 157)
HSLhsl(275, 55%, 40%)
HSVhsv(275, 71%, 62%)
CMYKcmyk(29.9%, 71.3%, 0%, 38.4%)
CIE-LABlab(33.19, 48.54, -49.06)
CIE-LCHlch(33.19, 69.01, 314.70°)
OKLaboklab(44.56% 0.1056 -0.1392)
OKLCHoklch(44.56% 0.175 307.2)
XYZxyz(13.4533, 7.6263, 32.6550)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2D9D #5C9D2D
analogous
#362D9D #6E2D9D #9D2D94
triadic
#6E2D9D #9D6E2D #2D9D6E
tetradic
#6E2D9D #9D362D #5C9D2D #2D949D
square
#6E2D9D #9D362D #5C9D2D #2D949D
split-complementary
#6E2D9D #949D2D #2D9D36
monochromatic
#2B123E #4D1F6D #6E2D9D #8F3FC8 #AA6FD6

Accessibility & contrast

On white

8.32
#6E2D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6E2D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2D9D
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2D9D#FFFFFF#000000##FFFFFF
##6E2D9D1.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#0A4F9B
Tritanopia (blue-blind)
#664662
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6e2d9d;
/* rgb */ color: rgb(110, 45, 157);
/* oklch */ color: oklch(44.6% 0.175 307.2);
Tailwind
colors: {
  custom: {
    50: '#9c6cbb',
    500: '#6e2d9d',
    950: '#000000',
  },
}
SCSS
$custom: #6e2d9d;
$custom-light: #9c6cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2d9d",
  "rgb": {
    "r": 110,
    "g": 45,
    "b": 157
  },
  "hsl": {
    "h": 274.821,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44556,
    "c": 0.17472,
    "h": 307.2
  },
  "luminance": 0.07626
}

Semantic roles & 50–950 ramp

primary
#6E2D9D
secondary
#8CBD69
accent
#DF4988
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6E2D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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