#6E2274#6E2274

#6E2274 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.5% C 0.148 H 324.8°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#6E2274
RGBrgb(110, 34, 116)
HSLhsl(296, 55%, 29%)
HSVhsv(296, 71%, 45%)
CMYKcmyk(5.2%, 70.7%, 0%, 54.5%)
CIE-LABlab(28.70, 44.60, -30.82)
CIE-LCHlch(28.70, 54.21, 325.35°)
OKLaboklab(40.46% 0.1213 -0.0857)
OKLCHoklch(40.46% 0.149 324.8)
XYZxyz(10.1546, 5.7206, 17.0889)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2274 #287422
analogous
#452274 #6E2274 #742251
triadic
#6E2274 #746E22 #22746E
tetradic
#6E2274 #744522 #287422 #225174
square
#6E2274 #744522 #287422 #225174
split-complementary
#6E2274 #517422 #227445
monochromatic
#160718 #411445 #6E2274 #9B30A3 #C047C9

Accessibility & contrast

On white

9.79
#6E2274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6E2274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2274
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2274#FFFFFF#000000##FFFFFF
##6E22741.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3E76
Deuteranopia (green-blind)
#314772
Tritanopia (blue-blind)
#702F48
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e2274;
/* rgb */ color: rgb(110, 34, 116);
/* oklch */ color: oklch(40.5% 0.148 324.8);
Tailwind
colors: {
  custom: {
    50: '#9a649c',
    500: '#6e2274',
    950: '#000000',
  },
}
SCSS
$custom: #6e2274;
$custom-light: #9a649c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2274",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 295.61,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40458,
    "c": 0.1485,
    "h": 324.8
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#6E2274
secondary
#51A74B
accent
#DE4A55
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6E2274

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

Preview Lab → · Contrast checker → · Palette generator →

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