#6E2D98#6E2D98

#6E2D98 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.2% C 0.169 H 308.9°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#6E2D98
RGBrgb(110, 45, 152)
HSLhsl(276, 54%, 39%)
HSVhsv(276, 70%, 60%)
CMYKcmyk(27.6%, 70.4%, 0%, 40.4%)
CIE-LABlab(32.83, 47.37, -46.60)
CIE-LCHlch(32.83, 66.45, 315.47°)
OKLaboklab(44.18% 0.1063 -0.132)
OKLCHoklch(44.18% 0.169 308.9)
XYZxyz(13.0351, 7.4590, 30.4527)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2D98 #57982D
analogous
#382D98 #6E2D98 #982D8C
triadic
#6E2D98 #986E2D #2D986E
tetradic
#6E2D98 #98382D #57982D #2D8C98
square
#6E2D98 #98382D #57982D #2D8C98
split-complementary
#6E2D98 #8C982D #2D9838
monochromatic
#2A113A #4C1F69 #6E2D98 #903DC5 #AB6CD3

Accessibility & contrast

On white

8.43
#6E2D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6E2D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2D98
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2D98#FFFFFF#000000##FFFFFF
##6E2D981.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#164E96
Tritanopia (blue-blind)
#68445F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6e2d98;
/* rgb */ color: rgb(110, 45, 152);
/* oklch */ color: oklch(44.2% 0.169 308.9);
Tailwind
colors: {
  custom: {
    50: '#9b6bb7',
    500: '#6e2d98',
    950: '#000000',
  },
}
SCSS
$custom: #6e2d98;
$custom-light: #9b6bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2d98",
  "rgb": {
    "r": 110,
    "g": 45,
    "b": 152
  },
  "hsl": {
    "h": 276.449,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44183,
    "c": 0.16945,
    "h": 308.9
  },
  "luminance": 0.07459
}

Semantic roles & 50–950 ramp

primary
#6E2D98
secondary
#87BA66
accent
#DE4A84
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6E2D98

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

Preview Lab → · Contrast checker → · Palette generator →

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