#6E399D#6E399D

#6E399D is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.1% C 0.158 H 305.4°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#6E399D
RGBrgb(110, 57, 157)
HSLhsl(272, 47%, 42%)
HSVhsv(272, 64%, 62%)
CMYKcmyk(29.9%, 63.7%, 0%, 38.4%)
CIE-LABlab(35.35, 42.57, -45.57)
CIE-LCHlch(35.35, 62.37, 313.05°)
OKLaboklab(46.11% 0.0918 -0.129)
OKLCHoklch(46.11% 0.158 305.4)
XYZxyz(13.9780, 8.6757, 32.8299)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E399D #689D39
analogous
#3C399D #6E399D #9D399A
triadic
#6E399D #9D6E39 #399D6E
tetradic
#6E399D #9D3C39 #689D39 #399A9D
square
#6E399D #9D3C39 #689D39 #399A9D
split-complementary
#6E399D #9A9D39 #399D3C
monochromatic
#2F1843 #4F2970 #6E399D #8D53C0 #AB80D1

Accessibility & contrast

On white

7.68
#6E399D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6E399D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E399D
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E399D#FFFFFF#000000##FFFFFF
##6E399D1.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#22539B
Tritanopia (blue-blind)
#664E65
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6e399d;
/* rgb */ color: rgb(110, 57, 157);
/* oklch */ color: oklch(46.1% 0.158 305.4);
Tailwind
colors: {
  custom: {
    50: '#9b72ba',
    500: '#6e399d',
    950: '#000000',
  },
}
SCSS
$custom: #6e399d;
$custom-light: #9b72ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6e399d",
  "rgb": {
    "r": 110,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 271.8,
    "s": 46.729,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46108,
    "c": 0.1583,
    "h": 305.4
  },
  "luminance": 0.08676
}

Semantic roles & 50–950 ramp

primary
#6E399D
secondary
#97BA78
accent
#D65190
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6E399D

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

Preview Lab → · Contrast checker → · Palette generator →

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