#6E2FA9#6E2FA9

#6E2FA9 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.185 H 303.3°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#6E2FA9
RGBrgb(110, 47, 169)
HSLhsl(271, 56%, 42%)
HSVhsv(271, 72%, 66%)
CMYKcmyk(34.9%, 72.2%, 0%, 33.7%)
CIE-LABlab(34.42, 50.48, -54.30)
CIE-LCHlch(34.42, 74.14, 312.91°)
OKLaboklab(45.72% 0.1016 -0.1546)
OKLCHoklch(45.72% 0.185 303.3)
XYZxyz(14.6067, 8.2126, 38.3441)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2FA9 #6AA92F
analogous
#312FA9 #6E2FA9 #A92FA7
triadic
#6E2FA9 #A96E2F #2FA96E
tetradic
#6E2FA9 #A9312F #6AA92F #2FA7A9
square
#6E2FA9 #A9312F #6AA92F #2FA7A9
split-complementary
#6E2FA9 #A7A92F #2FA931
monochromatic
#301449 #4F2279 #6E2FA9 #8D49CC #AB79DA

Accessibility & contrast

On white

7.95
#6E2FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6E2FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2FA9
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2FA9#FFFFFF#000000##FFFFFF
##6E2FA91.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#624C69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6e2fa9;
/* rgb */ color: rgb(110, 47, 169);
/* oklch */ color: oklch(45.7% 0.185 303.3);
Tailwind
colors: {
  custom: {
    50: '#9d6dc3',
    500: '#6e2fa9',
    950: '#000000',
  },
}
SCSS
$custom: #6e2fa9;
$custom-light: #9d6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2fa9",
  "rgb": {
    "r": 110,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 270.984,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45715,
    "c": 0.18499,
    "h": 303.3
  },
  "luminance": 0.08213
}

Semantic roles & 50–950 ramp

primary
#6E2FA9
secondary
#99C272
accent
#E04891
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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