#6E2097#6E2097

#6E2097 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.184 H 310.6°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#6E2097
RGBrgb(110, 32, 151)
HSLhsl(279, 65%, 36%)
HSVhsv(279, 79%, 59%)
CMYKcmyk(27.2%, 78.8%, 0%, 40.8%)
CIE-LABlab(30.84, 52.60, -49.22)
CIE-LCHlch(30.84, 72.03, 316.90°)
OKLaboklab(42.75% 0.1194 -0.1395)
OKLCHoklch(42.75% 0.184 310.6)
XYZxyz(12.5317, 6.5827, 29.8826)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2097 #499720
analogous
#332097 #6E2097 #972084
triadic
#6E2097 #976E20 #20976E
tetradic
#6E2097 #973320 #499720 #208497
square
#6E2097 #973320 #499720 #208497
split-complementary
#6E2097 #849720 #209733
monochromatic
#240B32 #491564 #6E2097 #932BC9 #AD56DB

Accessibility & contrast

On white

9.07
#6E2097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6E2097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2097
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2097#FFFFFF#000000##FFFFFF
##6E20971.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#683D5B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6e2097;
/* rgb */ color: rgb(110, 32, 151);
/* oklch */ color: oklch(42.7% 0.184 310.6);
Tailwind
colors: {
  custom: {
    50: '#9c65b6',
    500: '#6e2097',
    950: '#000000',
  },
}
SCSS
$custom: #6e2097;
$custom-light: #9c65b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2097",
  "rgb": {
    "r": 110,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 279.328,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42748,
    "c": 0.18368,
    "h": 310.6
  },
  "luminance": 0.06582
}

Semantic roles & 50–950 ramp

primary
#6E2097
secondary
#79BF54
accent
#E8407A
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E2097

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

Preview Lab → · Contrast checker → · Palette generator →

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