#6E2EA5#6E2EA5

#6E2EA5 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.182 H 304.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#6E2EA5
RGBrgb(110, 46, 165)
HSLhsl(272, 56%, 41%)
HSVhsv(272, 72%, 65%)
CMYKcmyk(33.3%, 72.1%, 0%, 35.3%)
CIE-LABlab(33.95, 49.98, -52.66)
CIE-LCHlch(33.95, 72.60, 313.50°)
OKLaboklab(45.29% 0.1033 -0.1498)
OKLCHoklch(45.29% 0.182 304.6)
XYZxyz(14.1974, 7.9857, 36.3835)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2EA5 #65A52E
analogous
#332EA5 #6E2EA5 #A52EA1
triadic
#6E2EA5 #A56E2E #2EA56E
tetradic
#6E2EA5 #A5332E #65A52E #2EA1A5
square
#6E2EA5 #A5332E #65A52E #2EA1A5
split-complementary
#6E2EA5 #A1A52E #2EA533
monochromatic
#2E1345 #4E2175 #6E2EA5 #8D45CB #AA75D8

Accessibility & contrast

On white

8.09
#6E2EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6E2EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2EA5
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2EA5#FFFFFF#000000##FFFFFF
##6E2EA51.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e2ea5;
/* rgb */ color: rgb(110, 46, 165);
/* oklch */ color: oklch(45.3% 0.182 304.6);
Tailwind
colors: {
  custom: {
    50: '#9c6cc0',
    500: '#6e2ea5',
    950: '#000000',
  },
}
SCSS
$custom: #6e2ea5;
$custom-light: #9c6cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2ea5",
  "rgb": {
    "r": 110,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 272.269,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45286,
    "c": 0.18195,
    "h": 304.6
  },
  "luminance": 0.07986
}

Semantic roles & 50–950 ramp

primary
#6E2EA5
secondary
#94C06F
accent
#E0488E
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E2EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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