#6E2397#6E2397

#6E2397 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.180 H 310.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#6E2397
RGBrgb(110, 35, 151)
HSLhsl(279, 62%, 36%)
HSVhsv(279, 77%, 59%)
CMYKcmyk(27.2%, 76.8%, 0%, 40.8%)
CIE-LABlab(31.23, 51.46, -48.57)
CIE-LCHlch(31.23, 70.76, 316.65°)
OKLaboklab(43.03% 0.1167 -0.1377)
OKLCHoklch(43.03% 0.18 310.3)
XYZxyz(12.6163, 6.7517, 29.9108)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2397 #4C9723
analogous
#342397 #6E2397 #972386
triadic
#6E2397 #976E23 #23976E
tetradic
#6E2397 #973423 #4C9723 #238697
square
#6E2397 #973423 #4C9723 #238697
split-complementary
#6E2397 #869723 #239734
monochromatic
#260C34 #4A1765 #6E2397 #922FC9 #AD5BD9

Accessibility & contrast

On white

8.94
#6E2397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6E2397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2397
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2397#FFFFFF#000000##FFFFFF
##6E23971.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#044B95
Tritanopia (blue-blind)
#683F5C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6e2397;
/* rgb */ color: rgb(110, 35, 151);
/* oklch */ color: oklch(43.0% 0.180 310.3);
Tailwind
colors: {
  custom: {
    50: '#9c66b6',
    500: '#6e2397',
    950: '#000000',
  },
}
SCSS
$custom: #6e2397;
$custom-light: #9c66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2397",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 278.793,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43028,
    "c": 0.18049,
    "h": 310.3
  },
  "luminance": 0.06751
}

Semantic roles & 50–950 ramp

primary
#6E2397
secondary
#7CBE58
accent
#E5427C
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E2397

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

Preview Lab → · Contrast checker → · Palette generator →

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