#6B187D#6B187D

#6B187D is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.167 H 319.6°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#6B187D
RGBrgb(107, 24, 125)
HSLhsl(289, 68%, 29%)
HSVhsv(289, 81%, 49%)
CMYKcmyk(14.4%, 80.8%, 0%, 51%)
CIE-LABlab(27.46, 49.41, -38.53)
CIE-LCHlch(27.46, 62.66, 322.06°)
OKLaboklab(39.67% 0.1271 -0.1082)
OKLCHoklch(39.67% 0.167 319.6)
XYZxyz(10.0912, 5.2603, 19.8818)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B187D #2A7D18
analogous
#39187D #6B187D #7D185D
triadic
#6B187D #7D6B18 #187D6B
tetradic
#6B187D #7D3918 #2A7D18 #185D7D
square
#6B187D #7D3918 #2A7D18 #185D7D
split-complementary
#6B187D #5D7D18 #187D39
monochromatic
#16051A #3F0E4A #6B187D #9722B0 #BC37D9

Accessibility & contrast

On white

10.23
#6B187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#6B187D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B187D
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B187D#FFFFFF#000000##FFFFFF
##6B187D1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#21447B
Tritanopia (blue-blind)
#6B2E4A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6b187d;
/* rgb */ color: rgb(107, 24, 125);
/* oklch */ color: oklch(39.7% 0.167 319.6);
Tailwind
colors: {
  custom: {
    50: '#9960a3',
    500: '#6b187d',
    950: '#000000',
  },
}
SCSS
$custom: #6b187d;
$custom-light: #9960a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b187d",
  "rgb": {
    "r": 107,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 289.307,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39668,
    "c": 0.1669,
    "h": 319.6
  },
  "luminance": 0.0526
}

Semantic roles & 50–950 ramp

primary
#6B187D
secondary
#54B23F
accent
#EB3D5C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6B187D

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

Preview Lab → · Contrast checker → · Palette generator →

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