#6E2EA0#6E2EA0

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

Color values

HEX#6E2EA0
RGBrgb(110, 46, 160)
HSLhsl(274, 55%, 40%)
HSVhsv(274, 71%, 63%)
CMYKcmyk(31.2%, 71.2%, 0%, 37.3%)
CIE-LABlab(33.58, 48.79, -50.25)
CIE-LCHlch(33.58, 70.04, 314.15°)
OKLaboklab(44.9% 0.1041 -0.1427)
OKLCHoklch(44.9% 0.177 306.1)
XYZxyz(13.7512, 7.8072, 34.0334)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2EA0 #60A02E
analogous
#352EA0 #6E2EA0 #A02E99
triadic
#6E2EA0 #A06E2E #2EA06E
tetradic
#6E2EA0 #A0352E #60A02E #2E99A0
square
#6E2EA0 #A0352E #60A02E #2E99A0
split-complementary
#6E2EA0 #99A02E #2EA035
monochromatic
#2D1341 #4D2070 #6E2EA0 #8E42C9 #AA72D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E2EA0#FFFFFF#000000##FFFFFF
##6E2EA01.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)
#004DA3
Deuteranopia (green-blind)
#024F9E
Tritanopia (blue-blind)
#654864
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6e2ea0;
/* rgb */ color: rgb(110, 46, 160);
/* oklch */ color: oklch(44.9% 0.177 306.1);
Tailwind
colors: {
  custom: {
    50: '#9c6cbd',
    500: '#6e2ea0',
    950: '#000000',
  },
}
SCSS
$custom: #6e2ea0;
$custom-light: #9c6cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2ea0",
  "rgb": {
    "r": 110,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 273.684,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44901,
    "c": 0.17664,
    "h": 306.1
  },
  "luminance": 0.07807
}

Semantic roles & 50–950 ramp

primary
#6E2EA0
secondary
#90BE6C
accent
#DF498B
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6E2EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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