#6F1D98#6F1D98

#6F1D98 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.7% C 0.188 H 310.9°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#6F1D98
RGBrgb(111, 29, 152)
HSLhsl(280, 68%, 35%)
HSVhsv(280, 81%, 60%)
CMYKcmyk(27%, 80.9%, 0%, 40.4%)
CIE-LABlab(30.70, 54.06, -50.04)
CIE-LCHlch(30.70, 73.67, 317.21°)
OKLaboklab(42.71% 0.1231 -0.1419)
OKLCHoklch(42.71% 0.188 310.9)
XYZxyz(12.6613, 6.5256, 30.2923)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1D98 #46981D
analogous
#311D98 #6F1D98 #981D83
triadic
#6F1D98 #986F1D #1D986F
tetradic
#6F1D98 #98311D #46981D #1D8398
square
#6F1D98 #98311D #46981D #1D8398
split-complementary
#6F1D98 #83981D #1D9831
monochromatic
#240931 #491365 #6F1D98 #9527CB #AF52DE

Accessibility & contrast

On white

9.11
#6F1D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6F1D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1D98
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1D98#FFFFFF#000000##FFFFFF
##6F1D981.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#693C5B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6f1d98;
/* rgb */ color: rgb(111, 29, 152);
/* oklch */ color: oklch(42.7% 0.188 310.9);
Tailwind
colors: {
  custom: {
    50: '#9d64b7',
    500: '#6f1d98',
    950: '#000000',
  },
}
SCSS
$custom: #6f1d98;
$custom-light: #9d64b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1d98",
  "rgb": {
    "r": 111,
    "g": 29,
    "b": 152
  },
  "hsl": {
    "h": 280,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42709,
    "c": 0.18787,
    "h": 310.9
  },
  "luminance": 0.06525
}

Semantic roles & 50–950 ramp

primary
#6F1D98
secondary
#76C150
accent
#EB3D77
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F1D98

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

Preview Lab → · Contrast checker → · Palette generator →

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