#6F1CA7#6F1CA7

#6F1CA7 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.9% C 0.203 H 306.3°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#6F1CA7
RGBrgb(111, 28, 167)
HSLhsl(276, 71%, 38%)
HSVhsv(276, 83%, 65%)
CMYKcmyk(33.5%, 83.2%, 0%, 34.5%)
CIE-LABlab(31.81, 57.64, -57.35)
CIE-LCHlch(31.81, 81.31, 315.15°)
OKLaboklab(43.86% 0.1199 -0.1634)
OKLCHoklch(43.86% 0.203 306.3)
XYZxyz(13.9443, 7.0002, 37.1683)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1CA7 #54A71C
analogous
#291CA7 #6F1CA7 #A71C99
triadic
#6F1CA7 #A76F1C #1CA76F
tetradic
#6F1CA7 #A7291C #54A71C #1C99A7
square
#6F1CA7 #A7291C #54A71C #1C99A7
split-complementary
#6F1CA7 #99A71C #1CA729
monochromatic
#290A3E #4C1373 #6F1CA7 #9226DB #AC5AE3

Accessibility & contrast

On white

8.75
#6F1CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6F1CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1CA7
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1CA7#FFFFFF#000000##FFFFFF
##6F1CA71.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#004BA4
Tritanopia (blue-blind)
#654364
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6f1ca7;
/* rgb */ color: rgb(111, 28, 167);
/* oklch */ color: oklch(43.9% 0.203 306.3);
Tailwind
colors: {
  custom: {
    50: '#9e64c2',
    500: '#6f1ca7',
    950: '#000000',
  },
}
SCSS
$custom: #6f1ca7;
$custom-light: #9e64c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1ca7",
  "rgb": {
    "r": 111,
    "g": 28,
    "b": 167
  },
  "hsl": {
    "h": 275.827,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43859,
    "c": 0.20264,
    "h": 306.3
  },
  "luminance": 0.07
}

Semantic roles & 50–950 ramp

primary
#6F1CA7
secondary
#85C758
accent
#EE3A82
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F1CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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