#6F198D#6F198D

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

Color values

HEX#6F198D
RGBrgb(111, 25, 141)
HSLhsl(284, 70%, 33%)
HSVhsv(284, 82%, 55%)
CMYKcmyk(21.3%, 82.3%, 0%, 44.7%)
CIE-LABlab(29.41, 53.07, -45.37)
CIE-LCHlch(29.41, 69.82, 319.48°)
OKLaboklab(41.54% 0.1287 -0.1281)
OKLCHoklch(41.54% 0.182 315.1)
XYZxyz(11.7101, 5.9983, 25.7351)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F198D #378D19
analogous
#35198D #6F198D #8D1971
triadic
#6F198D #8D6F19 #198D6F
tetradic
#6F198D #8D3519 #378D19 #19718D
square
#6F198D #8D3519 #378D19 #19718D
split-complementary
#6F198D #718D19 #198D35
monochromatic
#1D0725 #461059 #6F198D #9822C1 #B643DE

Accessibility & contrast

On white

9.55
#6F198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F198D
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F198D#FFFFFF#000000##FFFFFF
##6F198D1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#12478B
Tritanopia (blue-blind)
#6C3554
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f198d;
/* rgb */ color: rgb(111, 25, 141);
/* oklch */ color: oklch(41.5% 0.182 315.1);
Tailwind
colors: {
  custom: {
    50: '#9d62af',
    500: '#6f198d',
    950: '#000000',
  },
}
SCSS
$custom: #6f198d;
$custom-light: #9d62af;
$custom-dark: #000000;
JSON
{
  "hex": "#6f198d",
  "rgb": {
    "r": 111,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 284.483,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41537,
    "c": 0.18161,
    "h": 315.1
  },
  "luminance": 0.05998
}

Semantic roles & 50–950 ramp

primary
#6F198D
secondary
#63BF43
accent
#ED3B69
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #6F198D

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

Preview Lab → · Contrast checker → · Palette generator →

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