#6E2E98#6E2E98

#6E2E98 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.3% C 0.168 H 308.7°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#6E2E98
RGBrgb(110, 46, 152)
HSLhsl(276, 54%, 39%)
HSVhsv(276, 70%, 60%)
CMYKcmyk(27.6%, 69.7%, 0%, 40.4%)
CIE-LABlab(33.00, 46.91, -46.33)
CIE-LCHlch(33.00, 65.93, 315.35°)
OKLaboklab(44.3% 0.1052 -0.1312)
OKLCHoklch(44.3% 0.168 308.7)
XYZxyz(13.0738, 7.5362, 30.4656)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2E98 #58982E
analogous
#392E98 #6E2E98 #982E8D
triadic
#6E2E98 #986E2E #2E986E
tetradic
#6E2E98 #98392E #58982E #2E8D98
square
#6E2E98 #98392E #58982E #2E8D98
split-complementary
#6E2E98 #8D982E #2E9839
monochromatic
#2A123A #4C2069 #6E2E98 #903EC5 #AB6DD3

Accessibility & contrast

On white

8.38
#6E2E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6E2E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2E98
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2E98#FFFFFF#000000##FFFFFF
##6E2E981.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#184E96
Tritanopia (blue-blind)
#68455F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6e2e98;
/* rgb */ color: rgb(110, 46, 152);
/* oklch */ color: oklch(44.3% 0.168 308.7);
Tailwind
colors: {
  custom: {
    50: '#9b6cb7',
    500: '#6e2e98',
    950: '#000000',
  },
}
SCSS
$custom: #6e2e98;
$custom-light: #9b6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2e98",
  "rgb": {
    "r": 110,
    "g": 46,
    "b": 152
  },
  "hsl": {
    "h": 276.226,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44303,
    "c": 0.16814,
    "h": 308.7
  },
  "luminance": 0.07536
}

Semantic roles & 50–950 ramp

primary
#6E2E98
secondary
#88BA68
accent
#DD4B85
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6E2E98

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

Preview Lab → · Contrast checker → · Palette generator →

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