#6E2EA7#6E2EA7

#6E2EA7 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.184 H 304.0°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#6E2EA7
RGBrgb(110, 46, 167)
HSLhsl(272, 57%, 42%)
HSVhsv(272, 72%, 65%)
CMYKcmyk(34.1%, 72.5%, 0%, 34.5%)
CIE-LABlab(34.11, 50.46, -53.61)
CIE-LCHlch(34.11, 73.63, 313.26°)
OKLaboklab(45.44% 0.103 -0.1526)
OKLCHoklch(45.44% 0.184 304)
XYZxyz(14.3809, 8.0590, 37.3497)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2EA7 #67A72E
analogous
#322EA7 #6E2EA7 #A72EA4
triadic
#6E2EA7 #A76E2E #2EA76E
tetradic
#6E2EA7 #A7322E #67A72E #2EA4A7
square
#6E2EA7 #A7322E #67A72E #2EA4A7
split-complementary
#6E2EA7 #A4A72E #2EA732
monochromatic
#2F1447 #4E2177 #6E2EA7 #8D46CC #AB76D9

Accessibility & contrast

On white

8.04
#6E2EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6E2EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2EA7
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2EA7#FFFFFF#000000##FFFFFF
##6E2EA71.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e2ea7;
/* rgb */ color: rgb(110, 46, 167);
/* oklch */ color: oklch(45.4% 0.184 304.0);
Tailwind
colors: {
  custom: {
    50: '#9d6dc2',
    500: '#6e2ea7',
    950: '#000000',
  },
}
SCSS
$custom: #6e2ea7;
$custom-light: #9d6dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2ea7",
  "rgb": {
    "r": 110,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 271.736,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45442,
    "c": 0.18406,
    "h": 304
  },
  "luminance": 0.08059
}

Semantic roles & 50–950 ramp

primary
#6E2EA7
secondary
#96C170
accent
#E0488F
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E2EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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