#6E1768#6E1768

#6E1768 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.152 H 331.1°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#6E1768
RGBrgb(110, 23, 104)
HSLhsl(304, 65%, 26%)
HSVhsv(304, 79%, 43%)
CMYKcmyk(0%, 79.1%, 5.5%, 56.9%)
CIE-LABlab(26.53, 46.55, -26.55)
CIE-LCHlch(26.53, 53.59, 330.31°)
OKLaboklab(38.67% 0.1328 -0.0732)
OKLCHoklch(38.67% 0.152 331.1)
XYZxyz(9.2355, 4.9280, 13.5588)
Luminance0.0493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1768 #176E1D
analogous
#48176E #6E1768 #6E173C
triadic
#6E1768 #686E17 #17686E
tetradic
#6E1768 #6E4817 #176E1D #173C6E
square
#6E1768 #6E4817 #176E1D #173C6E
split-complementary
#6E1768 #3C6E17 #176E48
monochromatic
#190518 #3B0C38 #6E1768 #A12298 #D32CC7

Accessibility & contrast

On white

10.58
#6E1768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#6E1768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1768
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1768#FFFFFF#000000##FFFFFF
##6E17681.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E376A
Deuteranopia (green-blind)
#334366
Tritanopia (blue-blind)
#73223E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6e1768;
/* rgb */ color: rgb(110, 23, 104);
/* oklch */ color: oklch(38.7% 0.152 331.1);
Tailwind
colors: {
  custom: {
    50: '#9b5f93',
    500: '#6e1768',
    950: '#000000',
  },
}
SCSS
$custom: #6e1768;
$custom-light: #9b5f93;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1768",
  "rgb": {
    "r": 110,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 304.138,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38672,
    "c": 0.15165,
    "h": 331.1
  },
  "luminance": 0.04927
}

Semantic roles & 50–950 ramp

primary
#6E1768
secondary
#3DA444
accent
#E84B3F
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6E1768

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

Preview Lab → · Contrast checker → · Palette generator →

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