#6E398E#6E398E

#6E398E is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.1% C 0.141 H 310.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#6E398E
RGBrgb(110, 57, 142)
HSLhsl(277, 43%, 39%)
HSVhsv(277, 60%, 56%)
CMYKcmyk(22.5%, 59.9%, 0%, 44.3%)
CIE-LABlab(34.38, 38.95, -37.99)
CIE-LCHlch(34.38, 54.41, 315.71°)
OKLaboklab(45.09% 0.092 -0.1068)
OKLCHoklch(45.09% 0.141 310.8)
XYZxyz(12.7751, 8.1945, 26.4947)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E398E #598E39
analogous
#44398E #6E398E #8E3984
triadic
#6E398E #8E6E39 #398E6E
tetradic
#6E398E #8E4439 #598E39 #39848E
square
#6E398E #8E4439 #598E39 #39848E
split-complementary
#6E398E #848E39 #398E44
monochromatic
#2A1637 #4C2762 #6E398E #8F4DB7 #AB78C9

Accessibility & contrast

On white

7.96
#6E398E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6E398E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E398E
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E398E#FFFFFF#000000##FFFFFF
##6E398E1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4E91
Deuteranopia (green-blind)
#31528C
Tritanopia (blue-blind)
#6A495E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6e398e;
/* rgb */ color: rgb(110, 57, 142);
/* oklch */ color: oklch(45.1% 0.141 310.8);
Tailwind
colors: {
  custom: {
    50: '#9a72af',
    500: '#6e398e',
    950: '#000000',
  },
}
SCSS
$custom: #6e398e;
$custom-light: #9a72af;
$custom-dark: #000000;
JSON
{
  "hex": "#6e398e",
  "rgb": {
    "r": 110,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 277.412,
    "s": 42.714,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45094,
    "c": 0.14094,
    "h": 310.8
  },
  "luminance": 0.08194
}

Semantic roles & 50–950 ramp

primary
#6E398E
secondary
#89B271
accent
#D25584
background
#F9F7FA
surface
#F2EDF5
border
#CCC8CF
text
#0E0810
muted
#7E7B7F

Preview Lab

Preview with #6E398E

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

Preview Lab → · Contrast checker → · Palette generator →

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