#6F1F98#6F1F98

#6F1F98 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.186 H 310.8°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#6F1F98
RGBrgb(111, 31, 152)
HSLhsl(280, 66%, 36%)
HSVhsv(280, 80%, 60%)
CMYKcmyk(27%, 79.6%, 0%, 40.4%)
CIE-LABlab(30.94, 53.36, -49.65)
CIE-LCHlch(30.94, 72.89, 317.06°)
OKLaboklab(42.88% 0.1215 -0.1408)
OKLCHoklch(42.88% 0.186 310.8)
XYZxyz(12.7119, 6.6268, 30.3091)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1F98 #48981F
analogous
#321F98 #6F1F98 #981F84
triadic
#6F1F98 #986F1F #1F986F
tetradic
#6F1F98 #98321F #48981F #1F8498
square
#6F1F98 #98321F #48981F #1F8498
split-complementary
#6F1F98 #84981F #1F9832
monochromatic
#250A32 #4A1565 #6F1F98 #9429CB #AE55DC

Accessibility & contrast

On white

9.03
#6F1F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F1F98
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1F98#FFFFFF#000000##FFFFFF
##6F1F981.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#693D5B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6f1f98;
/* rgb */ color: rgb(111, 31, 152);
/* oklch */ color: oklch(42.9% 0.186 310.8);
Tailwind
colors: {
  custom: {
    50: '#9d65b7',
    500: '#6f1f98',
    950: '#000000',
  },
}
SCSS
$custom: #6f1f98;
$custom-light: #9d65b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1f98",
  "rgb": {
    "r": 111,
    "g": 31,
    "b": 152
  },
  "hsl": {
    "h": 279.669,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42877,
    "c": 0.18594,
    "h": 310.8
  },
  "luminance": 0.06626
}

Semantic roles & 50–950 ramp

primary
#6F1F98
secondary
#78C053
accent
#E93F78
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F1F98

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

Preview Lab → · Contrast checker → · Palette generator →

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