#6E2271#6E2271

#6E2271 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.3% C 0.146 H 326.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#6E2271
RGBrgb(110, 34, 113)
HSLhsl(298, 54%, 29%)
HSVhsv(298, 70%, 44%)
CMYKcmyk(2.7%, 69.9%, 0%, 55.7%)
CIE-LABlab(28.52, 44.02, -29.19)
CIE-LCHlch(28.52, 52.82, 326.45°)
OKLaboklab(40.27% 0.1213 -0.0809)
OKLCHoklch(40.27% 0.146 326.3)
XYZxyz(9.9829, 5.6520, 16.1847)
Luminance0.0565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2271 #257122
analogous
#472271 #6E2271 #71224D
triadic
#6E2271 #716E22 #22716E
tetradic
#6E2271 #714722 #257122 #224D71
square
#6E2271 #714722 #257122 #224D71
split-complementary
#6E2271 #4D7122 #227147
monochromatic
#170718 #401442 #6E2271 #9C30A0 #C246C7

Accessibility & contrast

On white

9.86
#6E2271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6E2271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2271
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2271#FFFFFF#000000##FFFFFF
##6E22711.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143D73
Deuteranopia (green-blind)
#33476F
Tritanopia (blue-blind)
#712E46
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e2271;
/* rgb */ color: rgb(110, 34, 113);
/* oklch */ color: oklch(40.3% 0.146 326.3);
Tailwind
colors: {
  custom: {
    50: '#9a649a',
    500: '#6e2271',
    950: '#000000',
  },
}
SCSS
$custom: #6e2271;
$custom-light: #9a649a;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2271",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 113
  },
  "hsl": {
    "h": 297.722,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40271,
    "c": 0.14579,
    "h": 326.3
  },
  "luminance": 0.05651
}

Semantic roles & 50–950 ramp

primary
#6E2271
secondary
#4EA44A
accent
#DD4B50
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6E2271

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

Preview Lab → · Contrast checker → · Palette generator →

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