#6B1868#6B1868

#6B1868 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.3% C 0.149 H 329.6°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#6B1868
RGBrgb(107, 24, 104)
HSLhsl(302, 63%, 26%)
HSVhsv(302, 78%, 42%)
CMYKcmyk(0%, 77.6%, 2.8%, 58%)
CIE-LABlab(26.10, 45.50, -27.27)
CIE-LCHlch(26.10, 53.05, 329.07°)
OKLaboklab(38.26% 0.1285 -0.0753)
OKLCHoklch(38.26% 0.149 329.6)
XYZxyz(8.8887, 4.7792, 13.5483)
Luminance0.0478 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1868 #186B1B
analogous
#44186B #6B1868 #6B183E
triadic
#6B1868 #686B18 #18686B
tetradic
#6B1868 #6B4418 #186B1B #183E6B
square
#6B1868 #6B4418 #186B1B #183E6B
split-complementary
#6B1868 #3E6B18 #186B44
monochromatic
#190618 #390D37 #6B1868 #9D2399 #CF2EC9

Accessibility & contrast

On white

10.74
#6B1868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#6B1868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1868
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1868#FFFFFF#000000##FFFFFF
##6B18681.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C376A
Deuteranopia (green-blind)
#314266
Tritanopia (blue-blind)
#6F243F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6b1868;
/* rgb */ color: rgb(107, 24, 104);
/* oklch */ color: oklch(38.3% 0.149 329.6);
Tailwind
colors: {
  custom: {
    50: '#985f93',
    500: '#6b1868',
    950: '#000000',
  },
}
SCSS
$custom: #6b1868;
$custom-light: #985f93;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1868",
  "rgb": {
    "r": 107,
    "g": 24,
    "b": 104
  },
  "hsl": {
    "h": 302.169,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.38257,
    "c": 0.14893,
    "h": 329.6
  },
  "luminance": 0.04779
}

Semantic roles & 50–950 ramp

primary
#6B1868
secondary
#3EA142
accent
#E64741
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6B1868

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

Preview Lab → · Contrast checker → · Palette generator →

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