#6F1B93#6F1B93

#6F1B93 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.185 H 312.8°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#6F1B93
RGBrgb(111, 27, 147)
HSLhsl(282, 69%, 34%)
HSVhsv(282, 82%, 58%)
CMYKcmyk(24.5%, 81.6%, 0%, 42.4%)
CIE-LABlab(30.08, 53.67, -47.98)
CIE-LCHlch(30.08, 71.99, 318.20°)
OKLaboklab(42.16% 0.1258 -0.1358)
OKLCHoklch(42.16% 0.185 312.8)
XYZxyz(12.2130, 6.2703, 28.1651)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1B93 #3F931B
analogous
#331B93 #6F1B93 #931B7B
triadic
#6F1B93 #936F1B #1B936F
tetradic
#6F1B93 #93331B #3F931B #1B7B93
square
#6F1B93 #93331B #3F931B #1B7B93
split-complementary
#6F1B93 #7B931B #1B9333
monochromatic
#21082C #48125F #6F1B93 #9624C7 #B24BDE

Accessibility & contrast

On white

9.32
#6F1B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6F1B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1B93
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1B93#FFFFFF#000000##FFFFFF
##6F1B931.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#044991
Tritanopia (blue-blind)
#6B3958
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6f1b93;
/* rgb */ color: rgb(111, 27, 147);
/* oklch */ color: oklch(42.2% 0.185 312.8);
Tailwind
colors: {
  custom: {
    50: '#9d63b3',
    500: '#6f1b93',
    950: '#000000',
  },
}
SCSS
$custom: #6f1b93;
$custom-light: #9d63b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1b93",
  "rgb": {
    "r": 111,
    "g": 27,
    "b": 147
  },
  "hsl": {
    "h": 282,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42155,
    "c": 0.18516,
    "h": 312.8
  },
  "luminance": 0.0627
}

Semantic roles & 50–950 ramp

primary
#6F1B93
secondary
#6DC04A
accent
#EC3C71
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F1B93

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

Preview Lab → · Contrast checker → · Palette generator →

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