#6F1B98#6F1B98

#6F1B98 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.5% C 0.190 H 311.1°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#6F1B98
RGBrgb(111, 27, 152)
HSLhsl(280, 70%, 35%)
HSVhsv(280, 82%, 60%)
CMYKcmyk(27%, 82.2%, 0%, 40.4%)
CIE-LABlab(30.47, 54.72, -50.41)
CIE-LCHlch(30.47, 74.40, 317.35°)
OKLaboklab(42.55% 0.1247 -0.143)
OKLCHoklch(42.55% 0.19 311.1)
XYZxyz(12.6139, 6.4307, 30.2764)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1B98 #44981B
analogous
#311B98 #6F1B98 #981B82
triadic
#6F1B98 #986F1B #1B986F
tetradic
#6F1B98 #98311B #44981B #1B8298
square
#6F1B98 #98311B #44981B #1B8298
split-complementary
#6F1B98 #82981B #1B9831
monochromatic
#230930 #491264 #6F1B98 #9524CC #B04EE0

Accessibility & contrast

On white

9.19
#6F1B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6F1B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1B98
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1B98#FFFFFF#000000##FFFFFF
##6F1B981.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#004996
Tritanopia (blue-blind)
#693B5B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6f1b98;
/* rgb */ color: rgb(111, 27, 152);
/* oklch */ color: oklch(42.5% 0.190 311.1);
Tailwind
colors: {
  custom: {
    50: '#9d63b7',
    500: '#6f1b98',
    950: '#000000',
  },
}
SCSS
$custom: #6f1b98;
$custom-light: #9d63b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1b98",
  "rgb": {
    "r": 111,
    "g": 27,
    "b": 152
  },
  "hsl": {
    "h": 280.32,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4255,
    "c": 0.18971,
    "h": 311.1
  },
  "luminance": 0.0643
}

Semantic roles & 50–950 ramp

primary
#6F1B98
secondary
#73C24D
accent
#ED3B75
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F1B98

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

Preview Lab → · Contrast checker → · Palette generator →

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