#6E2B97#6E2B97

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

Color values

HEX#6E2B97
RGBrgb(110, 43, 151)
HSLhsl(277, 56%, 38%)
HSVhsv(277, 72%, 59%)
CMYKcmyk(27.2%, 71.5%, 0%, 40.8%)
CIE-LABlab(32.43, 48.06, -46.64)
CIE-LCHlch(32.43, 66.97, 315.86°)
OKLaboklab(43.88% 0.1086 -0.132)
OKLCHoklch(43.88% 0.171 309.4)
XYZxyz(12.8791, 7.2774, 29.9984)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2B97 #54972B
analogous
#382B97 #6E2B97 #972B8A
triadic
#6E2B97 #976E2B #2B976E
tetradic
#6E2B97 #97382B #54972B #2B8A97
square
#6E2B97 #97382B #54972B #2B8A97
split-complementary
#6E2B97 #8A972B #2B9738
monochromatic
#291038 #4B1D67 #6E2B97 #9139C7 #AB68D4

Accessibility & contrast

On white

8.55
#6E2B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6E2B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2B97
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2B97#FFFFFF#000000##FFFFFF
##6E2B971.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#154D95
Tritanopia (blue-blind)
#68435E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6e2b97;
/* rgb */ color: rgb(110, 43, 151);
/* oklch */ color: oklch(43.9% 0.171 309.4);
Tailwind
colors: {
  custom: {
    50: '#9c6ab6',
    500: '#6e2b97',
    950: '#000000',
  },
}
SCSS
$custom: #6e2b97;
$custom-light: #9c6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2b97",
  "rgb": {
    "r": 110,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 277.222,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43875,
    "c": 0.17098,
    "h": 309.4
  },
  "luminance": 0.07277
}

Semantic roles & 50–950 ramp

primary
#6E2B97
secondary
#84BB63
accent
#DF4982
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6E2B97

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

Preview Lab → · Contrast checker → · Palette generator →

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