#6E2D95#6E2D95

#6E2D95 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.0% C 0.166 H 309.9°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#6E2D95
RGBrgb(110, 45, 149)
HSLhsl(278, 54%, 38%)
HSVhsv(278, 70%, 58%)
CMYKcmyk(26.2%, 69.8%, 0%, 41.6%)
CIE-LABlab(32.62, 46.68, -45.12)
CIE-LCHlch(32.62, 64.92, 315.98°)
OKLaboklab(43.96% 0.1067 -0.1276)
OKLCHoklch(43.96% 0.166 309.9)
XYZxyz(12.7925, 7.3620, 29.1750)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2D95 #54952D
analogous
#3A2D95 #6E2D95 #952D88
triadic
#6E2D95 #956E2D #2D956E
tetradic
#6E2D95 #953A2D #54952D #2D8895
square
#6E2D95 #953A2D #54952D #2D8895
split-complementary
#6E2D95 #88952D #2D953A
monochromatic
#291137 #4B1F66 #6E2D95 #913BC4 #AB6AD2

Accessibility & contrast

On white

8.49
#6E2D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6E2D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2D95
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2D95#FFFFFF#000000##FFFFFF
##6E2D951.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#1C4E93
Tritanopia (blue-blind)
#69435D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6e2d95;
/* rgb */ color: rgb(110, 45, 149);
/* oklch */ color: oklch(44.0% 0.166 309.9);
Tailwind
colors: {
  custom: {
    50: '#9b6bb5',
    500: '#6e2d95',
    950: '#000000',
  },
}
SCSS
$custom: #6e2d95;
$custom-light: #9b6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2d95",
  "rgb": {
    "r": 110,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 277.5,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43964,
    "c": 0.16629,
    "h": 309.9
  },
  "luminance": 0.07362
}

Semantic roles & 50–950 ramp

primary
#6E2D95
secondary
#84B965
accent
#DD4B82
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6E2D95

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

Preview Lab → · Contrast checker → · Palette generator →

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