#6F1F99#6F1F99

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

Color values

HEX#6F1F99
RGBrgb(111, 31, 153)
HSLhsl(279, 66%, 36%)
HSVhsv(279, 80%, 60%)
CMYKcmyk(27.5%, 79.7%, 0%, 40%)
CIE-LABlab(31.02, 53.58, -50.14)
CIE-LCHlch(31.02, 73.38, 316.90°)
OKLaboklab(42.96% 0.1212 -0.1422)
OKLCHoklch(42.96% 0.187 310.4)
XYZxyz(12.7942, 6.6597, 30.7423)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1F99 #49991F
analogous
#321F99 #6F1F99 #991F86
triadic
#6F1F99 #996F1F #1F996F
tetradic
#6F1F99 #99321F #49991F #1F8699
square
#6F1F99 #99321F #49991F #1F8699
split-complementary
#6F1F99 #86991F #1F9932
monochromatic
#250A33 #4A1566 #6F1F99 #9429CC #AE56DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F1F99#FFFFFF#000000##FFFFFF
##6F1F991.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)
#00469C
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#693D5C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6f1f99;
/* rgb */ color: rgb(111, 31, 153);
/* oklch */ color: oklch(43.0% 0.187 310.4);
Tailwind
colors: {
  custom: {
    50: '#9d65b8',
    500: '#6f1f99',
    950: '#000000',
  },
}
SCSS
$custom: #6f1f99;
$custom-light: #9d65b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1f99",
  "rgb": {
    "r": 111,
    "g": 31,
    "b": 153
  },
  "hsl": {
    "h": 279.344,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42956,
    "c": 0.18687,
    "h": 310.4
  },
  "luminance": 0.06659
}

Semantic roles & 50–950 ramp

primary
#6F1F99
secondary
#79C054
accent
#E93F79
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F1F99

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

Preview Lab → · Contrast checker → · Palette generator →

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