#6F197E#6F197E

#6F197E is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.168 H 321.1°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#6F197E
RGBrgb(111, 25, 126)
HSLhsl(291, 67%, 30%)
HSVhsv(291, 80%, 49%)
CMYKcmyk(11.9%, 80.2%, 0%, 50.6%)
CIE-LABlab(28.33, 50.11, -37.73)
CIE-LCHlch(28.33, 62.72, 323.02°)
OKLaboklab(40.44% 0.1311 -0.1057)
OKLCHoklch(40.44% 0.168 321.1)
XYZxyz(10.6686, 5.5817, 20.2500)
Luminance0.0558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F197E #287E19
analogous
#3D197E #6F197E #7E195B
triadic
#6F197E #7E6F19 #197E6F
tetradic
#6F197E #7E3D19 #287E19 #195B7E
square
#6F197E #7E3D19 #287E19 #195B7E
split-complementary
#6F197E #5B7E19 #197E3D
monochromatic
#16051A #420F4B #6F197E #9C23B1 #C03AD8

Accessibility & contrast

On white

9.92
#6F197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6F197E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F197E
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F197E#FFFFFF#000000##FFFFFF
##6F197E1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#26467C
Tritanopia (blue-blind)
#702E4B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6f197e;
/* rgb */ color: rgb(111, 25, 126);
/* oklch */ color: oklch(40.4% 0.168 321.1);
Tailwind
colors: {
  custom: {
    50: '#9c61a4',
    500: '#6f197e',
    950: '#000000',
  },
}
SCSS
$custom: #6f197e;
$custom-light: #9c61a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f197e",
  "rgb": {
    "r": 111,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 291.089,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40438,
    "c": 0.16843,
    "h": 321.1
  },
  "luminance": 0.05581
}

Semantic roles & 50–950 ramp

primary
#6F197E
secondary
#51B241
accent
#EA3E58
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6F197E

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

Preview Lab → · Contrast checker → · Palette generator →

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