#6F1162#6F1162

#6F1162 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.0% C 0.154 H 334.8°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#6F1162
RGBrgb(111, 17, 98)
HSLhsl(308, 73%, 25%)
HSVhsv(308, 85%, 44%)
CMYKcmyk(0%, 84.7%, 11.7%, 56.5%)
CIE-LABlab(25.75, 47.60, -23.85)
CIE-LCHlch(25.75, 53.24, 333.38°)
OKLaboklab(38.04% 0.1389 -0.0653)
OKLCHoklch(38.04% 0.154 334.8)
XYZxyz(8.9607, 4.6631, 11.9810)
Luminance0.0466 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1162 #116F1E
analogous
#4D116F #6F1162 #6F1133
triadic
#6F1162 #626F11 #11626F
tetradic
#6F1162 #6F4D11 #116F1E #11336F
square
#6F1162 #6F4D11 #116F1E #11336F
split-complementary
#6F1162 #336F11 #116F4D
monochromatic
#1B0417 #3A0933 #6F1162 #A41991 #D921C0

Accessibility & contrast

On white

10.87
#6F1162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#6F1162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1162
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1162#FFFFFF#000000##FFFFFF
##6F11621.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103464
Deuteranopia (green-blind)
#354260
Tritanopia (blue-blind)
#751B3A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6f1162;
/* rgb */ color: rgb(111, 17, 98);
/* oklch */ color: oklch(38.0% 0.154 334.8);
Tailwind
colors: {
  custom: {
    50: '#9c5d8f',
    500: '#6f1162',
    950: '#000000',
  },
}
SCSS
$custom: #6f1162;
$custom-light: #9c5d8f;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1162",
  "rgb": {
    "r": 111,
    "g": 17,
    "b": 98
  },
  "hsl": {
    "h": 308.298,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.38041,
    "c": 0.15352,
    "h": 334.8
  },
  "luminance": 0.04662
}

Semantic roles & 50–950 ramp

primary
#6F1162
secondary
#35A645
accent
#F05138
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0F050C
muted
#7E797D

Preview Lab

Preview with #6F1162

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

Preview Lab → · Contrast checker → · Palette generator →

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