#6F1CA1#6F1CA1

#6F1CA1 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.4% C 0.197 H 308.1°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#6F1CA1
RGBrgb(111, 28, 161)
HSLhsl(277, 70%, 37%)
HSVhsv(277, 83%, 63%)
CMYKcmyk(31.1%, 82.6%, 0%, 36.9%)
CIE-LABlab(31.31, 56.33, -54.54)
CIE-LCHlch(31.31, 78.41, 315.93°)
OKLaboklab(43.36% 0.1216 -0.1551)
OKLCHoklch(43.36% 0.197 308.1)
XYZxyz(13.4025, 6.7834, 34.3146)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1CA1 #4EA11C
analogous
#2D1CA1 #6F1CA1 #A11C90
triadic
#6F1CA1 #A16F1C #1CA16F
tetradic
#6F1CA1 #A12D1C #4EA11C #1C90A1
square
#6F1CA1 #A12D1C #4EA11C #1C90A1
split-complementary
#6F1CA1 #90A11C #1CA12D
monochromatic
#270A39 #4B136D #6F1CA1 #9325D5 #AD56E2

Accessibility & contrast

On white

8.91
#6F1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6F1CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1CA1
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1CA1#FFFFFF#000000##FFFFFF
##6F1CA11.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#004A9E
Tritanopia (blue-blind)
#674060
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6f1ca1;
/* rgb */ color: rgb(111, 28, 161);
/* oklch */ color: oklch(43.4% 0.197 308.1);
Tailwind
colors: {
  custom: {
    50: '#9e64be',
    500: '#6f1ca1',
    950: '#000000',
  },
}
SCSS
$custom: #6f1ca1;
$custom-light: #9e64be;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1ca1",
  "rgb": {
    "r": 111,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 277.444,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43357,
    "c": 0.19709,
    "h": 308.1
  },
  "luminance": 0.06783
}

Semantic roles & 50–950 ramp

primary
#6F1CA1
secondary
#7EC554
accent
#ED3B7E
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F1CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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