#6F1896#6F1896

#6F1896 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.2% C 0.190 H 312.0°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#6F1896
RGBrgb(111, 24, 150)
HSLhsl(281, 72%, 34%)
HSVhsv(281, 84%, 59%)
CMYKcmyk(26%, 84%, 0%, 41.2%)
CIE-LABlab(30.00, 55.23, -49.96)
CIE-LCHlch(30.00, 74.47, 317.87°)
OKLaboklab(42.17% 0.1274 -0.1416)
OKLCHoklch(42.17% 0.19 312)
XYZxyz(12.3862, 6.2351, 29.3993)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1896 #3F9618
analogous
#301896 #6F1896 #96187E
triadic
#6F1896 #966F18 #18966F
tetradic
#6F1896 #963018 #3F9618 #187E96
square
#6F1896 #963018 #3F9618 #187E96
split-complementary
#6F1896 #7E9618 #189630
monochromatic
#21072C #481061 #6F1896 #9620CB #B247E2

Accessibility & contrast

On white

9.35
#6F1896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F1896
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1896#FFFFFF#000000##FFFFFF
##6F18961.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#6A3959
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6f1896;
/* rgb */ color: rgb(111, 24, 150);
/* oklch */ color: oklch(42.2% 0.190 312.0);
Tailwind
colors: {
  custom: {
    50: '#9d62b6',
    500: '#6f1896',
    950: '#000000',
  },
}
SCSS
$custom: #6f1896;
$custom-light: #9d62b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1896",
  "rgb": {
    "r": 111,
    "g": 24,
    "b": 150
  },
  "hsl": {
    "h": 281.429,
    "s": 72.414,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42168,
    "c": 0.19049,
    "h": 312
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

primary
#6F1896
secondary
#6DC347
accent
#EF3971
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F1896

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

Preview Lab → · Contrast checker → · Palette generator →

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