#6E2EA8#6E2EA8

#6E2EA8 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.185 H 303.7°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#6E2EA8
RGBrgb(110, 46, 168)
HSLhsl(271, 57%, 42%)
HSVhsv(271, 73%, 66%)
CMYKcmyk(34.5%, 72.6%, 0%, 34.1%)
CIE-LABlab(34.18, 50.70, -54.09)
CIE-LCHlch(34.18, 74.14, 313.15°)
OKLaboklab(45.52% 0.1028 -0.154)
OKLCHoklch(45.52% 0.185 303.7)
XYZxyz(14.4737, 8.0962, 37.8384)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2EA8 #68A82E
analogous
#312EA8 #6E2EA8 #A82EA5
triadic
#6E2EA8 #A86E2E #2EA86E
tetradic
#6E2EA8 #A8312E #68A82E #2EA5A8
square
#6E2EA8 #A8312E #68A82E #2EA5A8
split-complementary
#6E2EA8 #A5A82E #2EA831
monochromatic
#2F1448 #4F2178 #6E2EA8 #8D47CD #AB77DA

Accessibility & contrast

On white

8.02
#6E2EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6E2EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2EA8
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2EA8#FFFFFF#000000##FFFFFF
##6E2EA81.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#0050A5
Tritanopia (blue-blind)
#634B68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6e2ea8;
/* rgb */ color: rgb(110, 46, 168);
/* oklch */ color: oklch(45.5% 0.185 303.7);
Tailwind
colors: {
  custom: {
    50: '#9d6dc3',
    500: '#6e2ea8',
    950: '#000000',
  },
}
SCSS
$custom: #6e2ea8;
$custom-light: #9d6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2ea8",
  "rgb": {
    "r": 110,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 271.475,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45521,
    "c": 0.18512,
    "h": 303.7
  },
  "luminance": 0.08096
}

Semantic roles & 50–950 ramp

primary
#6E2EA8
secondary
#97C270
accent
#E04890
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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