#6F188F#6F188F

#6F188F is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.6% C 0.184 H 314.4°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#6F188F
RGBrgb(111, 24, 143)
HSLhsl(284, 71%, 33%)
HSVhsv(284, 83%, 56%)
CMYKcmyk(22.4%, 83.2%, 0%, 43.9%)
CIE-LABlab(29.45, 53.79, -46.53)
CIE-LCHlch(29.45, 71.12, 319.14°)
OKLaboklab(41.62% 0.129 -0.1316)
OKLCHoklch(41.62% 0.184 314.4)
XYZxyz(11.8393, 6.0164, 26.5189)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F188F #388F18
analogous
#34188F #6F188F #8F1873
triadic
#6F188F #8F6F18 #188F6F
tetradic
#6F188F #8F3418 #388F18 #18738F
square
#6F188F #8F3418 #388F18 #18738F
split-complementary
#6F188F #738F18 #188F34
monochromatic
#1E0626 #460F5B #6F188F #9821C3 #B542DF

Accessibility & contrast

On white

9.53
#6F188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F188F
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F188F#FFFFFF#000000##FFFFFF
##6F188F1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#0C478D
Tritanopia (blue-blind)
#6C3655
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f188f;
/* rgb */ color: rgb(111, 24, 143);
/* oklch */ color: oklch(41.6% 0.184 314.4);
Tailwind
colors: {
  custom: {
    50: '#9d62b1',
    500: '#6f188f',
    950: '#000000',
  },
}
SCSS
$custom: #6f188f;
$custom-light: #9d62b1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f188f",
  "rgb": {
    "r": 111,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 283.866,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41617,
    "c": 0.18427,
    "h": 314.4
  },
  "luminance": 0.06016
}

Semantic roles & 50–950 ramp

primary
#6F188F
secondary
#64C043
accent
#EE3A6A
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F188F

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

Preview Lab → · Contrast checker → · Palette generator →

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