#6E2DA2#6E2DA2

#6E2DA2 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.9% C 0.180 H 305.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#6E2DA2
RGBrgb(110, 45, 162)
HSLhsl(273, 57%, 41%)
HSVhsv(273, 72%, 64%)
CMYKcmyk(32.1%, 72.2%, 0%, 36.5%)
CIE-LABlab(33.56, 49.72, -51.48)
CIE-LCHlch(33.56, 71.57, 314.00°)
OKLaboklab(44.94% 0.1049 -0.1463)
OKLCHoklch(44.94% 0.18 305.6)
XYZxyz(13.8889, 7.8005, 34.9494)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2DA2 #61A22D
analogous
#332DA2 #6E2DA2 #A22D9B
triadic
#6E2DA2 #A26E2D #2DA26E
tetradic
#6E2DA2 #A2332D #61A22D #2D9BA2
square
#6E2DA2 #A2332D #61A22D #2D9BA2
split-complementary
#6E2DA2 #9BA22D #2DA233
monochromatic
#2D1242 #4D2072 #6E2DA2 #8E42CA #AA72D8

Accessibility & contrast

On white

8.20
#6E2DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6E2DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2DA2
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2DA2#FFFFFF#000000##FFFFFF
##6E2DA21.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#654864
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6e2da2;
/* rgb */ color: rgb(110, 45, 162);
/* oklch */ color: oklch(44.9% 0.180 305.6);
Tailwind
colors: {
  custom: {
    50: '#9c6cbe',
    500: '#6e2da2',
    950: '#000000',
  },
}
SCSS
$custom: #6e2da2;
$custom-light: #9c6cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2da2",
  "rgb": {
    "r": 110,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 273.333,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44938,
    "c": 0.17999,
    "h": 305.6
  },
  "luminance": 0.078
}

Semantic roles & 50–950 ramp

primary
#6E2DA2
secondary
#91BF6C
accent
#E0488B
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E2DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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