#6E2595#6E2595

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

Color values

HEX#6E2595
RGBrgb(110, 37, 149)
HSLhsl(279, 60%, 36%)
HSVhsv(279, 75%, 58%)
CMYKcmyk(26.2%, 75.2%, 0%, 41.6%)
CIE-LABlab(31.37, 50.21, -47.14)
CIE-LCHlch(31.37, 68.87, 316.81°)
OKLaboklab(43.07% 0.1152 -0.1335)
OKLCHoklch(43.07% 0.176 310.8)
XYZxyz(12.5157, 6.8084, 29.0828)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2595 #4C9525
analogous
#362595 #6E2595 #952584
triadic
#6E2595 #956E25 #25956E
tetradic
#6E2595 #953625 #4C9525 #258495
square
#6E2595 #953625 #4C9525 #258495
split-complementary
#6E2595 #849525 #259536
monochromatic
#260D33 #4A1964 #6E2595 #9231C6 #AD5ED7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E2595#FFFFFF#000000##FFFFFF
##6E25951.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)
#004798
Deuteranopia (green-blind)
#0F4B93
Tritanopia (blue-blind)
#693F5B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6e2595;
/* rgb */ color: rgb(110, 37, 149);
/* oklch */ color: oklch(43.1% 0.176 310.8);
Tailwind
colors: {
  custom: {
    50: '#9c67b5',
    500: '#6e2595',
    950: '#000000',
  },
}
SCSS
$custom: #6e2595;
$custom-light: #9c67b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2595",
  "rgb": {
    "r": 110,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 279.107,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43074,
    "c": 0.17627,
    "h": 310.8
  },
  "luminance": 0.06808
}

Semantic roles & 50–950 ramp

primary
#6E2595
secondary
#7CBC5A
accent
#E3447C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6E2595

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

Preview Lab → · Contrast checker → · Palette generator →

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