#6F188E#6F188E

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

Color values

HEX#6F188E
RGBrgb(111, 24, 142)
HSLhsl(284, 71%, 33%)
HSVhsv(284, 83%, 56%)
CMYKcmyk(21.8%, 83.1%, 0%, 44.3%)
CIE-LABlab(29.38, 53.58, -46.04)
CIE-LCHlch(29.38, 70.64, 319.33°)
OKLaboklab(41.54% 0.1293 -0.1301)
OKLCHoklch(41.54% 0.183 314.8)
XYZxyz(11.7638, 5.9862, 26.1217)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F188E #378E18
analogous
#34188E #6F188E #8E1872
triadic
#6F188E #8E6F18 #188E6F
tetradic
#6F188E #8E3418 #378E18 #18728E
square
#6F188E #8E3418 #378E18 #18728E
split-complementary
#6F188E #728E18 #188E34
monochromatic
#1D0625 #460F5A #6F188E #9821C2 #B641DF

Accessibility & contrast

On white

9.56
#6F188E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6F188E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F188E
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F188E#FFFFFF#000000##FFFFFF
##6F188E1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#0F478C
Tritanopia (blue-blind)
#6C3554
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f188e;
/* rgb */ color: rgb(111, 24, 142);
/* oklch */ color: oklch(41.5% 0.183 314.8);
Tailwind
colors: {
  custom: {
    50: '#9d61b0',
    500: '#6f188e',
    950: '#000000',
  },
}
SCSS
$custom: #6f188e;
$custom-light: #9d61b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f188e",
  "rgb": {
    "r": 111,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 284.237,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4154,
    "c": 0.1834,
    "h": 314.8
  },
  "luminance": 0.05986
}

Semantic roles & 50–950 ramp

primary
#6F188E
secondary
#63C042
accent
#EE3A69
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #6F188E

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

Preview Lab → · Contrast checker → · Palette generator →

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