#6E1273#6E1273

#6E1273 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.165 H 325.8°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#6E1273
RGBrgb(110, 18, 115)
HSLhsl(297, 73%, 26%)
HSVhsv(297, 84%, 45%)
CMYKcmyk(4.3%, 84.3%, 0%, 54.9%)
CIE-LABlab(26.70, 49.96, -33.37)
CIE-LCHlch(26.70, 60.08, 326.26°)
OKLaboklab(39.01% 0.1367 -0.093)
OKLCHoklch(39.01% 0.165 325.8)
XYZxyz(9.7410, 4.9861, 16.6657)
Luminance0.0498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1273 #177312
analogous
#3D1273 #6E1273 #731247
triadic
#6E1273 #736E12 #12736E
tetradic
#6E1273 #733D12 #177312 #124773
square
#6E1273 #733D12 #177312 #124773
split-complementary
#6E1273 #477312 #12733D
monochromatic
#19041A #3B0A3E #6E1273 #A11AA8 #D323DD

Accessibility & contrast

On white

10.52
#6E1273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#6E1273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1273
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1273#FFFFFF#000000##FFFFFF
##6E12731.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#2A4371
Tritanopia (blue-blind)
#712544
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6e1273;
/* rgb */ color: rgb(110, 18, 115);
/* oklch */ color: oklch(39.0% 0.165 325.8);
Tailwind
colors: {
  custom: {
    50: '#9b5e9c',
    500: '#6e1273',
    950: '#000000',
  },
}
SCSS
$custom: #6e1273;
$custom-light: #9b5e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1273",
  "rgb": {
    "r": 110,
    "g": 18,
    "b": 115
  },
  "hsl": {
    "h": 296.907,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3901,
    "c": 0.16533,
    "h": 325.8
  },
  "luminance": 0.04985
}

Semantic roles & 50–950 ramp

primary
#6E1273
secondary
#3DAA37
accent
#F03842
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050E
muted
#7E797E

Preview Lab

Preview with #6E1273

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

Preview Lab → · Contrast checker → · Palette generator →

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