#6B187B#6B187B

#6B187B is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.165 H 320.4°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#6B187B
RGBrgb(107, 24, 123)
HSLhsl(290, 67%, 29%)
HSVhsv(290, 80%, 48%)
CMYKcmyk(13%, 80.5%, 0%, 51.8%)
CIE-LABlab(27.32, 49.02, -37.49)
CIE-LCHlch(27.32, 61.71, 322.60°)
OKLaboklab(39.52% 0.1273 -0.1052)
OKLCHoklch(39.52% 0.165 320.4)
XYZxyz(9.9648, 5.2097, 19.2157)
Luminance0.0521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B187B #287B18
analogous
#3A187B #6B187B #7B185A
triadic
#6B187B #7B6B18 #187B6B
tetradic
#6B187B #7B3A18 #287B18 #185A7B
square
#6B187B #7B3A18 #287B18 #185A7B
split-complementary
#6B187B #5A7B18 #187B3A
monochromatic
#16051A #3E0E48 #6B187B #9822AE #BE36D8

Accessibility & contrast

On white

10.29
#6B187B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#6B187B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B187B
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B187B#FFFFFF#000000##FFFFFF
##6B187B1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#234379
Tritanopia (blue-blind)
#6B2D49
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6b187b;
/* rgb */ color: rgb(107, 24, 123);
/* oklch */ color: oklch(39.5% 0.165 320.4);
Tailwind
colors: {
  custom: {
    50: '#9960a2',
    500: '#6b187b',
    950: '#000000',
  },
}
SCSS
$custom: #6b187b;
$custom-light: #9960a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b187b",
  "rgb": {
    "r": 107,
    "g": 24,
    "b": 123
  },
  "hsl": {
    "h": 290.303,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39524,
    "c": 0.16515,
    "h": 320.4
  },
  "luminance": 0.05209
}

Semantic roles & 50–950 ramp

primary
#6B187B
secondary
#51B03F
accent
#EA3E59
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6B187B

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

Preview Lab → · Contrast checker → · Palette generator →

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