#6E3095#6E3095

#6E3095 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.3% C 0.162 H 309.5°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#6E3095
RGBrgb(110, 48, 149)
HSLhsl(277, 51%, 39%)
HSVhsv(277, 68%, 58%)
CMYKcmyk(26.2%, 67.8%, 0%, 41.6%)
CIE-LABlab(33.13, 45.24, -44.28)
CIE-LCHlch(33.13, 63.31, 315.61°)
OKLaboklab(44.33% 0.1032 -0.1251)
OKLCHoklch(44.33% 0.162 309.5)
XYZxyz(12.9111, 7.5991, 29.2146)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E3095 #579530
analogous
#3B3095 #6E3095 #953089
triadic
#6E3095 #956E30 #30956E
tetradic
#6E3095 #953B30 #579530 #308995
square
#6E3095 #953B30 #579530 #308995
split-complementary
#6E3095 #899530 #30953B
monochromatic
#2A1238 #4C2167 #6E3095 #9041C2 #AB6FD1

Accessibility & contrast

On white

8.33
#6E3095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6E3095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E3095
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E3095#FFFFFF#000000##FFFFFF
##6E30951.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#204F93
Tritanopia (blue-blind)
#68455E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6e3095;
/* rgb */ color: rgb(110, 48, 149);
/* oklch */ color: oklch(44.3% 0.162 309.5);
Tailwind
colors: {
  custom: {
    50: '#9b6db5',
    500: '#6e3095',
    950: '#000000',
  },
}
SCSS
$custom: #6e3095;
$custom-light: #9b6db5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e3095",
  "rgb": {
    "r": 110,
    "g": 48,
    "b": 149
  },
  "hsl": {
    "h": 276.832,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44334,
    "c": 0.16221,
    "h": 309.5
  },
  "luminance": 0.07599
}

Semantic roles & 50–950 ramp

primary
#6E3095
secondary
#87B869
accent
#DB4D84
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6E3095

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

Preview Lab → · Contrast checker → · Palette generator →

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