#6E2A99#6E2A99

#6E2A99 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.9% C 0.174 H 308.9°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#6E2A99
RGBrgb(110, 42, 153)
HSLhsl(277, 57%, 38%)
HSVhsv(277, 73%, 60%)
CMYKcmyk(28.1%, 72.5%, 0%, 40%)
CIE-LABlab(32.42, 48.97, -47.88)
CIE-LCHlch(32.42, 68.49, 315.64°)
OKLaboklab(43.91% 0.1094 -0.1357)
OKLCHoklch(43.91% 0.174 308.9)
XYZxyz(13.0070, 7.2711, 30.8491)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2A99 #55992A
analogous
#372A99 #6E2A99 #992A8C
triadic
#6E2A99 #996E2A #2A996E
tetradic
#6E2A99 #99372A #55992A #2A8C99
square
#6E2A99 #99372A #55992A #2A8C99
split-complementary
#6E2A99 #8C992A #2A9937
monochromatic
#291039 #4B1D69 #6E2A99 #9038C8 #AB68D6

Accessibility & contrast

On white

8.56
#6E2A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6E2A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2A99
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2A99#FFFFFF#000000##FFFFFF
##6E2A991.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#0F4D97
Tritanopia (blue-blind)
#68435F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6e2a99;
/* rgb */ color: rgb(110, 42, 153);
/* oklch */ color: oklch(43.9% 0.174 308.9);
Tailwind
colors: {
  custom: {
    50: '#9c6ab8',
    500: '#6e2a99',
    950: '#000000',
  },
}
SCSS
$custom: #6e2a99;
$custom-light: #9c6ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2a99",
  "rgb": {
    "r": 110,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 276.757,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43912,
    "c": 0.17431,
    "h": 308.9
  },
  "luminance": 0.07271
}

Semantic roles & 50–950 ramp

primary
#6E2A99
secondary
#85BC63
accent
#E04883
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6E2A99

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

Preview Lab → · Contrast checker → · Palette generator →

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