#6F1B9D#6F1B9D

#6F1B9D is a dark, vivid violet. Relative luminance 0.066; OKLCH L 43.0% C 0.194 H 309.4°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#6F1B9D
RGBrgb(111, 27, 157)
HSLhsl(279, 71%, 36%)
HSVhsv(279, 83%, 62%)
CMYKcmyk(29.3%, 82.8%, 0%, 38.4%)
CIE-LABlab(30.87, 55.78, -52.82)
CIE-LCHlch(30.87, 76.82, 316.57°)
OKLaboklab(42.95% 0.1234 -0.15)
OKLCHoklch(42.95% 0.194 309.4)
XYZxyz(13.0320, 6.5980, 32.4788)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1B9D #499D1B
analogous
#2E1B9D #6F1B9D #9D1B8A
triadic
#6F1B9D #9D6F1B #1B9D6F
tetradic
#6F1B9D #9D2E1B #499D1B #1B8A9D
square
#6F1B9D #9D2E1B #499D1B #1B8A9D
split-complementary
#6F1B9D #8A9D1B #1B9D2E
monochromatic
#250935 #4A1269 #6F1B9D #9424D1 #AE51E1

Accessibility & contrast

On white

9.05
#6F1B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6F1B9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1B9D
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1B9D#FFFFFF#000000##FFFFFF
##6F1B9D1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#683E5E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6f1b9d;
/* rgb */ color: rgb(111, 27, 157);
/* oklch */ color: oklch(43.0% 0.194 309.4);
Tailwind
colors: {
  custom: {
    50: '#9d63bb',
    500: '#6f1b9d',
    950: '#000000',
  },
}
SCSS
$custom: #6f1b9d;
$custom-light: #9d63bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1b9d",
  "rgb": {
    "r": 111,
    "g": 27,
    "b": 157
  },
  "hsl": {
    "h": 278.769,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42953,
    "c": 0.19427,
    "h": 309.4
  },
  "luminance": 0.06598
}

Semantic roles & 50–950 ramp

primary
#6F1B9D
secondary
#79C450
accent
#ED3A7A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F1B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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