#6E2A97#6E2A97

#6E2A97 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.8% C 0.172 H 309.6°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#6E2A97
RGBrgb(110, 42, 151)
HSLhsl(277, 56%, 38%)
HSVhsv(277, 72%, 59%)
CMYKcmyk(27.2%, 72.2%, 0%, 40.8%)
CIE-LABlab(32.27, 48.51, -46.90)
CIE-LCHlch(32.27, 67.48, 315.97°)
OKLaboklab(43.76% 0.1097 -0.1328)
OKLCHoklch(43.76% 0.172 309.6)
XYZxyz(12.8432, 7.2055, 29.9864)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2A97 #53972A
analogous
#372A97 #6E2A97 #972A8A
triadic
#6E2A97 #976E2A #2A976E
tetradic
#6E2A97 #97372A #53972A #2A8A97
square
#6E2A97 #97372A #53972A #2A8A97
split-complementary
#6E2A97 #8A972A #2A9737
monochromatic
#280F37 #4B1D67 #6E2A97 #9137C7 #AB67D5

Accessibility & contrast

On white

8.60
#6E2A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6E2A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2A97
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2A97#FFFFFF#000000##FFFFFF
##6E2A971.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#134D95
Tritanopia (blue-blind)
#68425E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6e2a97;
/* rgb */ color: rgb(110, 42, 151);
/* oklch */ color: oklch(43.8% 0.172 309.6);
Tailwind
colors: {
  custom: {
    50: '#9c6ab6',
    500: '#6e2a97',
    950: '#000000',
  },
}
SCSS
$custom: #6e2a97;
$custom-light: #9c6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2a97",
  "rgb": {
    "r": 110,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 277.431,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43762,
    "c": 0.17226,
    "h": 309.6
  },
  "luminance": 0.07205
}

Semantic roles & 50–950 ramp

primary
#6E2A97
secondary
#83BB62
accent
#E04881
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6E2A97

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

Preview Lab → · Contrast checker → · Palette generator →

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