#6E2597#6E2597

#6E2597 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.2% C 0.178 H 310.1°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#6E2597
RGBrgb(110, 37, 151)
HSLhsl(278, 61%, 37%)
HSVhsv(278, 75%, 59%)
CMYKcmyk(27.2%, 75.5%, 0%, 40.8%)
CIE-LABlab(31.52, 50.65, -48.12)
CIE-LCHlch(31.52, 69.87, 316.47°)
OKLaboklab(43.23% 0.1148 -0.1363)
OKLCHoklch(43.23% 0.178 310.1)
XYZxyz(12.6768, 6.8728, 29.9309)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2597 #4E9725
analogous
#352597 #6E2597 #972587
triadic
#6E2597 #976E25 #25976E
tetradic
#6E2597 #973525 #4E9725 #258797
square
#6E2597 #973525 #4E9725 #258797
split-complementary
#6E2597 #879725 #259735
monochromatic
#260D35 #4A1966 #6E2597 #9231C8 #AC5FD8

Accessibility & contrast

On white

8.84
#6E2597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6E2597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2597
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2597#FFFFFF#000000##FFFFFF
##6E25971.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#094B95
Tritanopia (blue-blind)
#68405C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6e2597;
/* rgb */ color: rgb(110, 37, 151);
/* oklch */ color: oklch(43.2% 0.178 310.1);
Tailwind
colors: {
  custom: {
    50: '#9c67b6',
    500: '#6e2597',
    950: '#000000',
  },
}
SCSS
$custom: #6e2597;
$custom-light: #9c67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2597",
  "rgb": {
    "r": 110,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 278.421,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43226,
    "c": 0.17825,
    "h": 310.1
  },
  "luminance": 0.06872
}

Semantic roles & 50–950 ramp

primary
#6E2597
secondary
#7EBD5B
accent
#E4447D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6E2597

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

Preview Lab → · Contrast checker → · Palette generator →

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