#6F118E#6F118E

#6F118E is a dark, vivid purple. Relative luminance 0.057; OKLCH L 41.1% C 0.189 H 315.2°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#6F118E
RGBrgb(111, 17, 142)
HSLhsl(285, 79%, 31%)
HSVhsv(285, 88%, 56%)
CMYKcmyk(21.8%, 88%, 0%, 44.3%)
CIE-LABlab(28.73, 55.48, -47.08)
CIE-LCHlch(28.73, 72.76, 319.68°)
OKLaboklab(41.09% 0.134 -0.1331)
OKLCHoklch(41.09% 0.189 315.2)
XYZxyz(11.6377, 5.7339, 26.0797)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F118E #308E11
analogous
#30118E #6F118E #8E116E
triadic
#6F118E #8E6F11 #118E6F
tetradic
#6F118E #8E3011 #308E11 #116E8E
square
#6F118E #8E3011 #308E11 #116E8E
split-complementary
#6F118E #6E8E11 #118E30
monochromatic
#1A0421 #440A57 #6F118E #9A18C5 #BA33E7

Accessibility & contrast

On white

9.78
#6F118E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6F118E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F118E
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F118E#FFFFFF#000000##FFFFFF
##6F118E1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#05468C
Tritanopia (blue-blind)
#6C3353
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6f118e;
/* rgb */ color: rgb(111, 17, 142);
/* oklch */ color: oklch(41.1% 0.189 315.2);
Tailwind
colors: {
  custom: {
    50: '#9d5fb0',
    500: '#6f118e',
    950: '#000000',
  },
}
SCSS
$custom: #6f118e;
$custom-light: #9d5fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f118e",
  "rgb": {
    "r": 111,
    "g": 17,
    "b": 142
  },
  "hsl": {
    "h": 285.12,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41088,
    "c": 0.18886,
    "h": 315.2
  },
  "luminance": 0.05733
}

Semantic roles & 50–950 ramp

primary
#6F118E
secondary
#5BC238
accent
#F53363
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0510
muted
#7F7A7F

Preview Lab

Preview with #6F118E

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

Preview Lab → · Contrast checker → · Palette generator →

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