#6F159E#6F159E

#6F159E is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.6% C 0.200 H 309.5°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#6F159E
RGBrgb(111, 21, 158)
HSLhsl(279, 77%, 35%)
HSVhsv(279, 87%, 62%)
CMYKcmyk(29.7%, 86.7%, 0%, 38%)
CIE-LABlab(30.36, 57.74, -54.26)
CIE-LCHlch(30.36, 79.23, 316.78°)
OKLaboklab(42.62% 0.1271 -0.1542)
OKLCHoklch(42.62% 0.2 309.5)
XYZxyz(12.9940, 6.3847, 32.8890)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F159E #449E15
analogous
#2B159E #6F159E #9E1588
triadic
#6F159E #9E6F15 #159E6F
tetradic
#6F159E #9E2B15 #449E15 #15889E
square
#6F159E #9E2B15 #449E15 #15889E
split-complementary
#6F159E #889E15 #159E2B
monochromatic
#230732 #490E68 #6F159E #951CD4 #B047E7

Accessibility & contrast

On white

9.22
#6F159E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6F159E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F159E
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F159E#FFFFFF#000000##FFFFFF
##6F159E1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#683C5D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6f159e;
/* rgb */ color: rgb(111, 21, 158);
/* oklch */ color: oklch(42.6% 0.200 309.5);
Tailwind
colors: {
  custom: {
    50: '#9e61bc',
    500: '#6f159e',
    950: '#000000',
  },
}
SCSS
$custom: #6f159e;
$custom-light: #9e61bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6f159e",
  "rgb": {
    "r": 111,
    "g": 21,
    "b": 158
  },
  "hsl": {
    "h": 279.416,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42624,
    "c": 0.19988,
    "h": 309.5
  },
  "luminance": 0.06384
}

Semantic roles & 50–950 ramp

primary
#6F159E
secondary
#73C747
accent
#F33576
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F159E

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

Preview Lab → · Contrast checker → · Palette generator →

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