#6E3497#6E3497

#6E3497 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 45.0% C 0.159 H 308.2°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#6E3497
RGBrgb(110, 52, 151)
HSLhsl(275, 49%, 40%)
HSVhsv(275, 66%, 59%)
CMYKcmyk(27.2%, 65.6%, 0%, 40.8%)
CIE-LABlab(33.99, 43.72, -44.12)
CIE-LCHlch(33.99, 62.11, 314.74°)
OKLaboklab(45% 0.0983 -0.1247)
OKLCHoklch(45% 0.159 308.2)
XYZxyz(13.2432, 8.0055, 30.1197)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E3497 #5D9734
analogous
#3D3497 #6E3497 #97348E
triadic
#6E3497 #976E34 #34976E
tetradic
#6E3497 #973D34 #5D9734 #348E97
square
#6E3497 #973D34 #5D9734 #348E97
split-complementary
#6E3497 #8E9734 #34973D
monochromatic
#2C153C #4D2469 #6E3497 #8E48C0 #AA76D0

Accessibility & contrast

On white

8.07
#6E3497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6E3497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E3497
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E3497#FFFFFF#000000##FFFFFF
##6E34971.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#225195
Tritanopia (blue-blind)
#684861
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6e3497;
/* rgb */ color: rgb(110, 52, 151);
/* oklch */ color: oklch(45.0% 0.159 308.2);
Tailwind
colors: {
  custom: {
    50: '#9b6fb6',
    500: '#6e3497',
    950: '#000000',
  },
}
SCSS
$custom: #6e3497;
$custom-light: #9b6fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e3497",
  "rgb": {
    "r": 110,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 275.152,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44997,
    "c": 0.15875,
    "h": 308.2
  },
  "luminance": 0.08005
}

Semantic roles & 50–950 ramp

primary
#6E3497
secondary
#8DB86F
accent
#D84F88
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #6E3497

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

Preview Lab → · Contrast checker → · Palette generator →

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