#6E2F97#6E2F97

#6E2F97 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.4% C 0.166 H 308.9°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#6E2F97
RGBrgb(110, 47, 151)
HSLhsl(276, 53%, 39%)
HSVhsv(276, 69%, 59%)
CMYKcmyk(27.2%, 68.9%, 0%, 40.8%)
CIE-LABlab(33.10, 46.20, -45.56)
CIE-LCHlch(33.10, 64.88, 315.40°)
OKLaboklab(44.35% 0.1042 -0.1289)
OKLCHoklch(44.35% 0.166 308.9)
XYZxyz(13.0317, 7.5826, 30.0492)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2F97 #58972F
analogous
#3A2F97 #6E2F97 #972F8C
triadic
#6E2F97 #976E2F #2F976E
tetradic
#6E2F97 #973A2F #58972F #2F8C97
square
#6E2F97 #973A2F #58972F #2F8C97
split-complementary
#6E2F97 #8C972F #2F973A
monochromatic
#2A123A #4C2068 #6E2F97 #9040C3 #AB6ED2

Accessibility & contrast

On white

8.35
#6E2F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6E2F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2F97
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2F97#FFFFFF#000000##FFFFFF
##6E2F971.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#1B4F95
Tritanopia (blue-blind)
#68455F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6e2f97;
/* rgb */ color: rgb(110, 47, 151);
/* oklch */ color: oklch(44.4% 0.166 308.9);
Tailwind
colors: {
  custom: {
    50: '#9b6cb6',
    500: '#6e2f97',
    950: '#000000',
  },
}
SCSS
$custom: #6e2f97;
$custom-light: #9b6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2f97",
  "rgb": {
    "r": 110,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 276.346,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44353,
    "c": 0.16574,
    "h": 308.9
  },
  "luminance": 0.07582
}

Semantic roles & 50–950 ramp

primary
#6E2F97
secondary
#88B968
accent
#DC4C85
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6E2F97

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

Preview Lab → · Contrast checker → · Palette generator →

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