#6F188D#6F188D

#6F188D is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.183 H 315.2°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#6F188D
RGBrgb(111, 24, 141)
HSLhsl(285, 71%, 32%)
HSVhsv(285, 83%, 55%)
CMYKcmyk(21.3%, 83%, 0%, 44.7%)
CIE-LABlab(29.30, 53.38, -45.54)
CIE-LCHlch(29.30, 70.17, 319.53°)
OKLaboklab(41.46% 0.1295 -0.1286)
OKLCHoklch(41.46% 0.183 315.2)
XYZxyz(11.6891, 5.9563, 25.7281)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F188D #368D18
analogous
#34188D #6F188D #8D1871
triadic
#6F188D #8D6F18 #188D6F
tetradic
#6F188D #8D3418 #368D18 #18718D
square
#6F188D #8D3418 #368D18 #18718D
split-complementary
#6F188D #718D18 #188D34
monochromatic
#1D0624 #460F59 #6F188D #9821C1 #B641DF

Accessibility & contrast

On white

9.58
#6F188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6F188D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F188D
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F188D#FFFFFF#000000##FFFFFF
##6F188D1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#11478B
Tritanopia (blue-blind)
#6C3554
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f188d;
/* rgb */ color: rgb(111, 24, 141);
/* oklch */ color: oklch(41.5% 0.183 315.2);
Tailwind
colors: {
  custom: {
    50: '#9d61af',
    500: '#6f188d',
    950: '#000000',
  },
}
SCSS
$custom: #6f188d;
$custom-light: #9d61af;
$custom-dark: #000000;
JSON
{
  "hex": "#6f188d",
  "rgb": {
    "r": 111,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 284.615,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41463,
    "c": 0.18251,
    "h": 315.2
  },
  "luminance": 0.05956
}

Semantic roles & 50–950 ramp

primary
#6F188D
secondary
#62BF42
accent
#EE3A68
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #6F188D

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

Preview Lab → · Contrast checker → · Palette generator →

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