#6E2EA4#6E2EA4

#6E2EA4 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.181 H 304.9°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#6E2EA4
RGBrgb(110, 46, 164)
HSLhsl(273, 56%, 41%)
HSVhsv(273, 72%, 64%)
CMYKcmyk(32.9%, 72%, 0%, 35.7%)
CIE-LABlab(33.88, 49.74, -52.18)
CIE-LCHlch(33.88, 72.09, 313.63°)
OKLaboklab(45.21% 0.1035 -0.1483)
OKLCHoklch(45.21% 0.181 304.9)
XYZxyz(14.1067, 7.9494, 35.9060)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2EA4 #64A42E
analogous
#332EA4 #6E2EA4 #A42E9F
triadic
#6E2EA4 #A46E2E #2EA46E
tetradic
#6E2EA4 #A4332E #64A42E #2E9FA4
square
#6E2EA4 #A4332E #64A42E #2E9FA4
split-complementary
#6E2EA4 #9FA42E #2EA433
monochromatic
#2E1344 #4E2174 #6E2EA4 #8D45CB #AA74D8

Accessibility & contrast

On white

8.11
#6E2EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6E2EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2EA4
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2EA4#FFFFFF#000000##FFFFFF
##6E2EA41.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#644A66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6e2ea4;
/* rgb */ color: rgb(110, 46, 164);
/* oklch */ color: oklch(45.2% 0.181 304.9);
Tailwind
colors: {
  custom: {
    50: '#9c6cc0',
    500: '#6e2ea4',
    950: '#000000',
  },
}
SCSS
$custom: #6e2ea4;
$custom-light: #9c6cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2ea4",
  "rgb": {
    "r": 110,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 272.542,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45208,
    "c": 0.18089,
    "h": 304.9
  },
  "luminance": 0.07949
}

Semantic roles & 50–950 ramp

primary
#6E2EA4
secondary
#93C06E
accent
#DF488D
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E2EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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