#6E398D#6E398D

#6E398D is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.0% C 0.140 H 311.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#6E398D
RGBrgb(110, 57, 141)
HSLhsl(278, 42%, 39%)
HSVhsv(278, 60%, 55%)
CMYKcmyk(22%, 59.6%, 0%, 44.7%)
CIE-LABlab(34.32, 38.71, -37.48)
CIE-LCHlch(34.32, 53.88, 315.93°)
OKLaboklab(45.03% 0.092 -0.1052)
OKLCHoklch(45.03% 0.14 311.2)
XYZxyz(12.7004, 8.1646, 26.1010)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E398D #588D39
analogous
#44398D #6E398D #8D3982
triadic
#6E398D #8D6E39 #398D6E
tetradic
#6E398D #8D4439 #588D39 #39828D
square
#6E398D #8D4439 #588D39 #39828D
split-complementary
#6E398D #828D39 #398D44
monochromatic
#2A1636 #4C2761 #6E398D #904CB7 #AB78C8

Accessibility & contrast

On white

7.98
#6E398D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6E398D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E398D
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E398D#FFFFFF#000000##FFFFFF
##6E398D1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4E90
Deuteranopia (green-blind)
#32528B
Tritanopia (blue-blind)
#6A485D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6e398d;
/* rgb */ color: rgb(110, 57, 141);
/* oklch */ color: oklch(45.0% 0.140 311.2);
Tailwind
colors: {
  custom: {
    50: '#9a72af',
    500: '#6e398d',
    950: '#000000',
  },
}
SCSS
$custom: #6e398d;
$custom-light: #9a72af;
$custom-dark: #000000;
JSON
{
  "hex": "#6e398d",
  "rgb": {
    "r": 110,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 277.857,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4503,
    "c": 0.13978,
    "h": 311.2
  },
  "luminance": 0.08164
}

Semantic roles & 50–950 ramp

primary
#6E398D
secondary
#88B270
accent
#D25684
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E0810
muted
#7E7B7F

Preview Lab

Preview with #6E398D

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

Preview Lab → · Contrast checker → · Palette generator →

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