#6F187D#6F187D

#6F187D is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.169 H 321.6°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#6F187D
RGBrgb(111, 24, 125)
HSLhsl(292, 68%, 29%)
HSVhsv(292, 81%, 49%)
CMYKcmyk(11.2%, 80.8%, 0%, 51%)
CIE-LABlab(28.15, 50.24, -37.39)
CIE-LCHlch(28.15, 62.62, 323.34°)
OKLaboklab(40.29% 0.1321 -0.1047)
OKLCHoklch(40.29% 0.169 321.6)
XYZxyz(10.5834, 5.5140, 19.9049)
Luminance0.0551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F187D #267D18
analogous
#3D187D #6F187D #7D1859
triadic
#6F187D #7D6F18 #187D6F
tetradic
#6F187D #7D3D18 #267D18 #18597D
square
#6F187D #7D3D18 #267D18 #18597D
split-complementary
#6F187D #597D18 #187D3D
monochromatic
#17051A #410E4A #6F187D #9D22B0 #C237D9

Accessibility & contrast

On white

9.99
#6F187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6F187D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F187D
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F187D#FFFFFF#000000##FFFFFF
##6F187D1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#26467B
Tritanopia (blue-blind)
#702D4A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6f187d;
/* rgb */ color: rgb(111, 24, 125);
/* oklch */ color: oklch(40.3% 0.169 321.6);
Tailwind
colors: {
  custom: {
    50: '#9c61a3',
    500: '#6f187d',
    950: '#000000',
  },
}
SCSS
$custom: #6f187d;
$custom-light: #9c61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f187d",
  "rgb": {
    "r": 111,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 291.683,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40289,
    "c": 0.16856,
    "h": 321.6
  },
  "luminance": 0.05513
}

Semantic roles & 50–950 ramp

primary
#6F187D
secondary
#4FB23F
accent
#EB3D55
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6F187D

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

Preview Lab → · Contrast checker → · Palette generator →

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