#6F1F9C#6F1F9C

#6F1F9C is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.190 H 309.5°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#6F1F9C
RGBrgb(111, 31, 156)
HSLhsl(278, 67%, 37%)
HSVhsv(278, 80%, 61%)
CMYKcmyk(28.8%, 80.1%, 0%, 38.8%)
CIE-LABlab(31.25, 54.23, -51.59)
CIE-LCHlch(31.25, 74.85, 316.43°)
OKLaboklab(43.19% 0.1205 -0.1465)
OKLCHoklch(43.19% 0.19 309.5)
XYZxyz(13.0451, 6.7600, 32.0637)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1F9C #4C9C1F
analogous
#311F9C #6F1F9C #9C1F8B
triadic
#6F1F9C #9C6F1F #1F9C6F
tetradic
#6F1F9C #9C311F #4C9C1F #1F8B9C
square
#6F1F9C #9C311F #4C9C1F #1F8B9C
split-complementary
#6F1F9C #8B9C1F #1F9C31
monochromatic
#260B36 #4B1569 #6F1F9C #9329CF #AD58DE

Accessibility & contrast

On white

8.93
#6F1F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6F1F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1F9C
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1F9C#FFFFFF#000000##FFFFFF
##6F1F9C1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#683F5E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6f1f9c;
/* rgb */ color: rgb(111, 31, 156);
/* oklch */ color: oklch(43.2% 0.190 309.5);
Tailwind
colors: {
  custom: {
    50: '#9d65ba',
    500: '#6f1f9c',
    950: '#000000',
  },
}
SCSS
$custom: #6f1f9c;
$custom-light: #9d65ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1f9c",
  "rgb": {
    "r": 111,
    "g": 31,
    "b": 156
  },
  "hsl": {
    "h": 278.4,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43194,
    "c": 0.18969,
    "h": 309.5
  },
  "luminance": 0.0676
}

Semantic roles & 50–950 ramp

primary
#6F1F9C
secondary
#7CC155
accent
#EA3E7C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F1F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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