#6F1D9C#6F1D9C

#6F1D9C is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.192 H 309.6°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#6F1D9C
RGBrgb(111, 29, 156)
HSLhsl(279, 69%, 36%)
HSVhsv(279, 81%, 61%)
CMYKcmyk(28.8%, 81.4%, 0%, 38.8%)
CIE-LABlab(31.02, 54.92, -51.97)
CIE-LCHlch(31.02, 75.61, 316.58°)
OKLaboklab(43.03% 0.1221 -0.1476)
OKLCHoklch(43.03% 0.192 309.6)
XYZxyz(12.9944, 6.6588, 32.0468)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1D9C #4A9C1D
analogous
#301D9C #6F1D9C #9C1D8A
triadic
#6F1D9C #9C6F1D #1D9C6F
tetradic
#6F1D9C #9C301D #4A9C1D #1D8A9C
square
#6F1D9C #9C301D #4A9C1D #1D8A9C
split-complementary
#6F1D9C #8A9C1D #1D9C30
monochromatic
#260A35 #4A1368 #6F1D9C #9427D0 #AE54DF

Accessibility & contrast

On white

9.01
#6F1D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F1D9C
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1D9C#FFFFFF#000000##FFFFFF
##6F1D9C1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#683E5D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6f1d9c;
/* rgb */ color: rgb(111, 29, 156);
/* oklch */ color: oklch(43.0% 0.192 309.6);
Tailwind
colors: {
  custom: {
    50: '#9d64ba',
    500: '#6f1d9c',
    950: '#000000',
  },
}
SCSS
$custom: #6f1d9c;
$custom-light: #9d64ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1d9c",
  "rgb": {
    "r": 111,
    "g": 29,
    "b": 156
  },
  "hsl": {
    "h": 278.74,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43028,
    "c": 0.19158,
    "h": 309.6
  },
  "luminance": 0.06659
}

Semantic roles & 50–950 ramp

primary
#6F1D9C
secondary
#7AC252
accent
#EB3C7A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F1D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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