#6B1874#6B1874

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

Color values

HEX#6B1874
RGBrgb(107, 24, 116)
HSLhsl(294, 66%, 27%)
HSVhsv(294, 79%, 45%)
CMYKcmyk(7.8%, 79.3%, 0%, 54.5%)
CIE-LABlab(26.85, 47.68, -33.79)
CIE-LCHlch(26.85, 58.45, 324.68°)
OKLaboklab(39.04% 0.1281 -0.0943)
OKLCHoklch(39.04% 0.159 323.6)
XYZxyz(9.5421, 5.0406, 16.9899)
Luminance0.0504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1874 #217418
analogous
#3D1874 #6B1874 #74184F
triadic
#6B1874 #746B18 #18746B
tetradic
#6B1874 #743D18 #217418 #184F74
square
#6B1874 #743D18 #217418 #184F74
split-complementary
#6B1874 #4F7418 #18743D
monochromatic
#170519 #3C0E41 #6B1874 #9A22A7 #C532D5

Accessibility & contrast

On white

10.46
#6B1874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#6B1874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1874
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1874#FFFFFF#000000##FFFFFF
##6B18741.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#294372
Tritanopia (blue-blind)
#6D2A45
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6b1874;
/* rgb */ color: rgb(107, 24, 116);
/* oklch */ color: oklch(39.0% 0.159 323.6);
Tailwind
colors: {
  custom: {
    50: '#99609c',
    500: '#6b1874',
    950: '#000000',
  },
}
SCSS
$custom: #6b1874;
$custom-light: #99609c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1874",
  "rgb": {
    "r": 107,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 294.13,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.39037,
    "c": 0.15906,
    "h": 323.6
  },
  "luminance": 0.0504
}

Semantic roles & 50–950 ramp

primary
#6B1874
secondary
#49A93F
accent
#E93F50
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6B1874

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

Preview Lab → · Contrast checker → · Palette generator →

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