#6E2897#6E2897

#6E2897 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.5% C 0.175 H 309.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#6E2897
RGBrgb(110, 40, 151)
HSLhsl(278, 58%, 37%)
HSVhsv(278, 74%, 59%)
CMYKcmyk(27.2%, 73.5%, 0%, 40.8%)
CIE-LABlab(31.96, 49.39, -47.40)
CIE-LCHlch(31.96, 68.46, 316.18°)
OKLaboklab(43.54% 0.1118 -0.1343)
OKLCHoklch(43.54% 0.175 309.8)
XYZxyz(12.7740, 7.0672, 29.9633)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2897 #519728
analogous
#372897 #6E2897 #972888
triadic
#6E2897 #976E28 #28976E
tetradic
#6E2897 #973728 #519728 #288897
square
#6E2897 #973728 #519728 #288897
split-complementary
#6E2897 #889728 #289737
monochromatic
#280E36 #4B1B67 #6E2897 #9135C7 #AC64D6

Accessibility & contrast

On white

8.70
#6E2897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6E2897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2897
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2897#FFFFFF#000000##FFFFFF
##6E28971.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#104C95
Tritanopia (blue-blind)
#68415D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6e2897;
/* rgb */ color: rgb(110, 40, 151);
/* oklch */ color: oklch(43.5% 0.175 309.8);
Tailwind
colors: {
  custom: {
    50: '#9c69b6',
    500: '#6e2897',
    950: '#000000',
  },
}
SCSS
$custom: #6e2897;
$custom-light: #9c69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2897",
  "rgb": {
    "r": 110,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 277.838,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43541,
    "c": 0.17471,
    "h": 309.8
  },
  "luminance": 0.07067
}

Semantic roles & 50–950 ramp

primary
#6E2897
secondary
#81BC5F
accent
#E14680
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6E2897

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

Preview Lab → · Contrast checker → · Palette generator →

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