#6E2DA4#6E2DA4

#6E2DA4 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.182 H 305.0°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#6E2DA4
RGBrgb(110, 45, 164)
HSLhsl(273, 57%, 41%)
HSVhsv(273, 73%, 64%)
CMYKcmyk(32.9%, 72.6%, 0%, 35.7%)
CIE-LABlab(33.72, 50.20, -52.44)
CIE-LCHlch(33.72, 72.59, 313.75°)
OKLaboklab(45.09% 0.1045 -0.1491)
OKLCHoklch(45.09% 0.182 305)
XYZxyz(14.0681, 7.8722, 35.8931)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2DA4 #63A42D
analogous
#322DA4 #6E2DA4 #A42D9E
triadic
#6E2DA4 #A46E2D #2DA46E
tetradic
#6E2DA4 #A4322D #63A42D #2D9EA4
square
#6E2DA4 #A4322D #63A42D #2D9EA4
split-complementary
#6E2DA4 #9EA42D #2DA432
monochromatic
#2E1344 #4E2074 #6E2DA4 #8D43CB #AA73D9

Accessibility & contrast

On white

8.16
#6E2DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6E2DA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2DA4
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2DA4#FFFFFF#000000##FFFFFF
##6E2DA41.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#004FA2
Tritanopia (blue-blind)
#644966
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6e2da4;
/* rgb */ color: rgb(110, 45, 164);
/* oklch */ color: oklch(45.1% 0.182 305.0);
Tailwind
colors: {
  custom: {
    50: '#9c6cc0',
    500: '#6e2da4',
    950: '#000000',
  },
}
SCSS
$custom: #6e2da4;
$custom-light: #9c6cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2da4",
  "rgb": {
    "r": 110,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 272.773,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45093,
    "c": 0.1821,
    "h": 305
  },
  "luminance": 0.07872
}

Semantic roles & 50–950 ramp

primary
#6E2DA4
secondary
#93C06D
accent
#E0488D
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E2DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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