#6F1B9F#6F1B9F

#6F1B9F is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.1% C 0.196 H 308.8°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#6F1B9F
RGBrgb(111, 27, 159)
HSLhsl(278, 71%, 36%)
HSVhsv(278, 83%, 62%)
CMYKcmyk(30.2%, 83%, 0%, 37.6%)
CIE-LABlab(31.04, 56.22, -53.77)
CIE-LCHlch(31.04, 77.79, 316.28°)
OKLaboklab(43.12% 0.1229 -0.1529)
OKLCHoklch(43.12% 0.196 308.8)
XYZxyz(13.2042, 6.6668, 33.3854)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1B9F #4B9F1B
analogous
#2D1B9F #6F1B9F #9F1B8D
triadic
#6F1B9F #9F6F1B #1B9F6F
tetradic
#6F1B9F #9F2D1B #4B9F1B #1B8D9F
square
#6F1B9F #9F2D1B #4B9F1B #1B8D9F
split-complementary
#6F1B9F #8D9F1B #1B9F2D
monochromatic
#260936 #4A126B #6F1B9F #9424D3 #AE53E2

Accessibility & contrast

On white

9.00
#6F1B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6F1B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1B9F
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1B9F#FFFFFF#000000##FFFFFF
##6F1B9F1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#004A9C
Tritanopia (blue-blind)
#673E5F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6f1b9f;
/* rgb */ color: rgb(111, 27, 159);
/* oklch */ color: oklch(43.1% 0.196 308.8);
Tailwind
colors: {
  custom: {
    50: '#9e64bc',
    500: '#6f1b9f',
    950: '#000000',
  },
}
SCSS
$custom: #6f1b9f;
$custom-light: #9e64bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1b9f",
  "rgb": {
    "r": 111,
    "g": 27,
    "b": 159
  },
  "hsl": {
    "h": 278.182,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43117,
    "c": 0.19611,
    "h": 308.8
  },
  "luminance": 0.06667
}

Semantic roles & 50–950 ramp

primary
#6F1B9F
secondary
#7BC551
accent
#EE3A7B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F1B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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