#6E2279#6E2279

#6E2279 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.153 H 322.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#6E2279
RGBrgb(110, 34, 121)
HSLhsl(292, 56%, 30%)
HSVhsv(292, 72%, 47%)
CMYKcmyk(9.1%, 71.9%, 0%, 52.5%)
CIE-LABlab(29.01, 45.57, -33.50)
CIE-LCHlch(29.01, 56.56, 323.68°)
OKLaboklab(40.78% 0.1212 -0.0935)
OKLCHoklch(40.78% 0.153 322.4)
XYZxyz(10.4533, 5.8401, 18.6621)
Luminance0.0584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2279 #2D7922
analogous
#422279 #6E2279 #792258
triadic
#6E2279 #796E22 #22796E
tetradic
#6E2279 #794222 #2D7922 #225879
square
#6E2279 #794222 #2D7922 #225879
split-complementary
#6E2279 #587922 #227942
monochromatic
#170719 #431549 #6E2279 #992FA9 #BB49CC

Accessibility & contrast

On white

9.69
#6E2279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6E2279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2279
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2279#FFFFFF#000000##FFFFFF
##6E22791.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053F7B
Deuteranopia (green-blind)
#2E4777
Tritanopia (blue-blind)
#6F314B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e2279;
/* rgb */ color: rgb(110, 34, 121);
/* oklch */ color: oklch(40.8% 0.153 322.4);
Tailwind
colors: {
  custom: {
    50: '#9b65a0',
    500: '#6e2279',
    950: '#000000',
  },
}
SCSS
$custom: #6e2279;
$custom-light: #9b65a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2279",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 292.414,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40779,
    "c": 0.15309,
    "h": 322.4
  },
  "luminance": 0.0584
}

Semantic roles & 50–950 ramp

primary
#6E2279
secondary
#57AC4B
accent
#DF485B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6E2279

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

Preview Lab → · Contrast checker → · Palette generator →

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