#6E2FA4#6E2FA4

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

Color values

HEX#6E2FA4
RGBrgb(110, 47, 164)
HSLhsl(272, 55%, 41%)
HSVhsv(272, 71%, 64%)
CMYKcmyk(32.9%, 71.3%, 0%, 35.7%)
CIE-LABlab(34.04, 49.28, -51.91)
CIE-LCHlch(34.04, 71.58, 313.51°)
OKLaboklab(45.33% 0.1025 -0.1476)
OKLCHoklch(45.33% 0.18 304.8)
XYZxyz(14.1463, 8.0284, 35.9192)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2FA4 #65A42F
analogous
#342FA4 #6E2FA4 #A42FA0
triadic
#6E2FA4 #A46E2F #2FA46E
tetradic
#6E2FA4 #A4342F #65A42F #2FA0A4
square
#6E2FA4 #A4342F #65A42F #2FA0A4
split-complementary
#6E2FA4 #A0A42F #2FA434
monochromatic
#2E1445 #4E2174 #6E2FA4 #8D46CA #AA76D8

Accessibility & contrast

On white

8.06
#6E2FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E2FA4
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2FA4#FFFFFF#000000##FFFFFF
##6E2FA41.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.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: #6e2fa4;
/* rgb */ color: rgb(110, 47, 164);
/* oklch */ color: oklch(45.3% 0.180 304.8);
Tailwind
colors: {
  custom: {
    50: '#9c6dc0',
    500: '#6e2fa4',
    950: '#000000',
  },
}
SCSS
$custom: #6e2fa4;
$custom-light: #9c6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2fa4",
  "rgb": {
    "r": 110,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 272.308,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45325,
    "c": 0.17965,
    "h": 304.8
  },
  "luminance": 0.08028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6E2FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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