#6E1868#6E1868

#6E1868 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.8% C 0.151 H 331.1°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#6E1868
RGBrgb(110, 24, 104)
HSLhsl(304, 64%, 26%)
HSVhsv(304, 78%, 43%)
CMYKcmyk(0%, 78.2%, 5.5%, 56.9%)
CIE-LABlab(26.64, 46.22, -26.36)
CIE-LCHlch(26.64, 53.21, 330.30°)
OKLaboklab(38.76% 0.1319 -0.0727)
OKLCHoklch(38.76% 0.151 331.1)
XYZxyz(9.2557, 4.9685, 13.5656)
Luminance0.0497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1868 #186E1E
analogous
#49186E #6E1868 #6E183D
triadic
#6E1868 #686E18 #18686E
tetradic
#6E1868 #6E4918 #186E1E #183D6E
square
#6E1868 #6E4918 #186E1E #183D6E
split-complementary
#6E1868 #3D6E18 #186E49
monochromatic
#190518 #3C0D39 #6E1868 #A02398 #D22FC6

Accessibility & contrast

On white

10.53
#6E1868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1868
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1868#FFFFFF#000000##FFFFFF
##6E18681.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10376A
Deuteranopia (green-blind)
#334366
Tritanopia (blue-blind)
#73233F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6e1868;
/* rgb */ color: rgb(110, 24, 104);
/* oklch */ color: oklch(38.8% 0.151 331.1);
Tailwind
colors: {
  custom: {
    50: '#9b5f93',
    500: '#6e1868',
    950: '#000000',
  },
}
SCSS
$custom: #6e1868;
$custom-light: #9b5f93;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1868",
  "rgb": {
    "r": 110,
    "g": 24,
    "b": 104
  },
  "hsl": {
    "h": 304.186,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.38755,
    "c": 0.15055,
    "h": 331.1
  },
  "luminance": 0.04968
}

Semantic roles & 50–950 ramp

primary
#6E1868
secondary
#3EA445
accent
#E74C41
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6E1868

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

Preview Lab → · Contrast checker → · Palette generator →

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