#6E298C#6E298C

#6E298C is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.8% C 0.162 H 313.7°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#6E298C
RGBrgb(110, 41, 140)
HSLhsl(282, 55%, 35%)
HSVhsv(282, 71%, 55%)
CMYKcmyk(21.4%, 70.7%, 0%, 45.1%)
CIE-LABlab(31.33, 46.50, -41.65)
CIE-LCHlch(31.33, 62.42, 318.15°)
OKLaboklab(42.85% 0.1121 -0.1174)
OKLCHoklch(42.85% 0.162 313.7)
XYZxyz(11.9562, 6.7947, 25.4875)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E298C #478C29
analogous
#3C298C #6E298C #8C2978
triadic
#6E298C #8C6E29 #298C6E
tetradic
#6E298C #8C3C29 #478C29 #29788C
square
#6E298C #8C3C29 #478C29 #29788C
split-complementary
#6E298C #788C29 #298C3C
monochromatic
#240D2D #491B5D #6E298C #9337BB #AE5FD0

Accessibility & contrast

On white

8.90
#6E298C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6E298C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E298C
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E298C#FFFFFF#000000##FFFFFF
##6E298C1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468F
Deuteranopia (green-blind)
#234B8A
Tritanopia (blue-blind)
#6B3D57
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6e298c;
/* rgb */ color: rgb(110, 41, 140);
/* oklch */ color: oklch(42.8% 0.162 313.7);
Tailwind
colors: {
  custom: {
    50: '#9b69ae',
    500: '#6e298c',
    950: '#000000',
  },
}
SCSS
$custom: #6e298c;
$custom-light: #9b69ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6e298c",
  "rgb": {
    "r": 110,
    "g": 41,
    "b": 140
  },
  "hsl": {
    "h": 281.818,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42848,
    "c": 0.16231,
    "h": 313.7
  },
  "luminance": 0.06794
}

Semantic roles & 50–950 ramp

primary
#6E298C
secondary
#77B65B
accent
#DE4A77
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6E298C

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

Preview Lab → · Contrast checker → · Palette generator →

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