#6E388B#6E388B

#6E388B is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.8% C 0.139 H 312.1°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#6E388B
RGBrgb(110, 56, 139)
HSLhsl(279, 43%, 38%)
HSVhsv(279, 60%, 55%)
CMYKcmyk(20.9%, 59.7%, 0%, 45.5%)
CIE-LABlab(34.00, 38.78, -36.76)
CIE-LCHlch(34.00, 53.44, 316.53°)
OKLaboklab(44.75% 0.0933 -0.1032)
OKLCHoklch(44.75% 0.139 312.1)
XYZxyz(12.5040, 8.0077, 25.3080)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E388B #558B38
analogous
#44388B #6E388B #8B387E
triadic
#6E388B #8B6E38 #388B6E
tetradic
#6E388B #8B4438 #558B38 #387E8B
square
#6E388B #8B4438 #558B38 #387E8B
split-complementary
#6E388B #7E8B38 #388B44
monochromatic
#291534 #4B265F #6E388B #904AB6 #AB76C8

Accessibility & contrast

On white

8.07
#6E388B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6E388B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E388B
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E388B#FFFFFF#000000##FFFFFF
##6E388B1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4D8E
Deuteranopia (green-blind)
#325189
Tritanopia (blue-blind)
#6B475C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6e388b;
/* rgb */ color: rgb(110, 56, 139);
/* oklch */ color: oklch(44.8% 0.139 312.1);
Tailwind
colors: {
  custom: {
    50: '#9a71ad',
    500: '#6e388b',
    950: '#000000',
  },
}
SCSS
$custom: #6e388b;
$custom-light: #9a71ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6e388b",
  "rgb": {
    "r": 110,
    "g": 56,
    "b": 139
  },
  "hsl": {
    "h": 279.036,
    "s": 42.564,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44753,
    "c": 0.13909,
    "h": 312.1
  },
  "luminance": 0.08007
}

Semantic roles & 50–950 ramp

primary
#6E388B
secondary
#85B16E
accent
#D25581
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E0810
muted
#7E7B7F

Preview Lab

Preview with #6E388B

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

Preview Lab → · Contrast checker → · Palette generator →

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