#6E2497#6E2497

#6E2497 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.179 H 310.2°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#6E2497
RGBrgb(110, 36, 151)
HSLhsl(279, 61%, 37%)
HSVhsv(279, 76%, 59%)
CMYKcmyk(27.2%, 76.2%, 0%, 40.8%)
CIE-LABlab(31.37, 51.06, -48.35)
CIE-LCHlch(31.37, 70.32, 316.56°)
OKLaboklab(43.13% 0.1158 -0.137)
OKLCHoklch(43.13% 0.179 310.2)
XYZxyz(12.6461, 6.8114, 29.9207)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2497 #4D9724
analogous
#352497 #6E2497 #972487
triadic
#6E2497 #976E24 #24976E
tetradic
#6E2497 #973524 #4D9724 #248797
square
#6E2497 #973524 #4D9724 #248797
split-complementary
#6E2497 #879724 #249735
monochromatic
#260C34 #4A1866 #6E2497 #9230C8 #AC5DD8

Accessibility & contrast

On white

8.89
#6E2497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6E2497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2497
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2497#FFFFFF#000000##FFFFFF
##6E24971.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#064B95
Tritanopia (blue-blind)
#683F5C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6e2497;
/* rgb */ color: rgb(110, 36, 151);
/* oklch */ color: oklch(43.1% 0.179 310.2);
Tailwind
colors: {
  custom: {
    50: '#9c67b6',
    500: '#6e2497',
    950: '#000000',
  },
}
SCSS
$custom: #6e2497;
$custom-light: #9c67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2497",
  "rgb": {
    "r": 110,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 278.609,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43126,
    "c": 0.17938,
    "h": 310.2
  },
  "luminance": 0.06811
}

Semantic roles & 50–950 ramp

primary
#6E2497
secondary
#7DBD5A
accent
#E5437D
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E2497

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

Preview Lab → · Contrast checker → · Palette generator →

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