#6E2EA1#6E2EA1

#6E2EA1 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 45.0% C 0.178 H 305.8°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#6E2EA1
RGBrgb(110, 46, 161)
HSLhsl(273, 56%, 41%)
HSVhsv(273, 71%, 63%)
CMYKcmyk(31.7%, 71.4%, 0%, 36.9%)
CIE-LABlab(33.65, 49.02, -50.74)
CIE-LCHlch(33.65, 70.55, 314.02°)
OKLaboklab(44.98% 0.104 -0.1441)
OKLCHoklch(44.98% 0.178 305.8)
XYZxyz(13.8390, 7.8423, 34.4960)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2EA1 #61A12E
analogous
#342EA1 #6E2EA1 #A12E9B
triadic
#6E2EA1 #A16E2E #2EA16E
tetradic
#6E2EA1 #A1342E #61A12E #2E9BA1
square
#6E2EA1 #A1342E #61A12E #2E9BA1
split-complementary
#6E2EA1 #9BA12E #2EA134
monochromatic
#2D1342 #4D2071 #6E2EA1 #8E43C9 #AA73D7

Accessibility & contrast

On white

8.18
#6E2EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E2EA1
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2EA1#FFFFFF#000000##FFFFFF
##6E2EA11.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#004F9F
Tritanopia (blue-blind)
#654964
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6e2ea1;
/* rgb */ color: rgb(110, 46, 161);
/* oklch */ color: oklch(45.0% 0.178 305.8);
Tailwind
colors: {
  custom: {
    50: '#9c6cbe',
    500: '#6e2ea1',
    950: '#000000',
  },
}
SCSS
$custom: #6e2ea1;
$custom-light: #9c6cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2ea1",
  "rgb": {
    "r": 110,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 273.391,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44977,
    "c": 0.1777,
    "h": 305.8
  },
  "luminance": 0.07842
}

Semantic roles & 50–950 ramp

primary
#6E2EA1
secondary
#91BE6C
accent
#DF498B
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E2EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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