#6F1A7A#6F1A7A

#6F1A7A is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.164 H 322.8°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#6F1A7A
RGBrgb(111, 26, 122)
HSLhsl(293, 65%, 29%)
HSVhsv(293, 79%, 48%)
CMYKcmyk(9%, 78.7%, 0%, 52.2%)
CIE-LABlab(28.18, 49.01, -35.45)
CIE-LCHlch(28.18, 60.48, 324.12°)
OKLaboklab(40.24% 0.1306 -0.0991)
OKLCHoklch(40.24% 0.164 322.8)
XYZxyz(10.4374, 5.5241, 18.9251)
Luminance0.0552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1A7A #257A1A
analogous
#3F1A7A #6F1A7A #7A1A55
triadic
#6F1A7A #7A6F1A #1A7A6F
tetradic
#6F1A7A #7A3F1A #257A1A #1A557A
square
#6F1A7A #7A3F1A #257A1A #1A557A
split-complementary
#6F1A7A #557A1A #1A7A3F
monochromatic
#170519 #410F48 #6F1A7A #9D25AC #C339D5

Accessibility & contrast

On white

9.98
#6F1A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6F1A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1A7A
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1A7A#FFFFFF#000000##FFFFFF
##6F1A7A1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7D
Deuteranopia (green-blind)
#2A4678
Tritanopia (blue-blind)
#712D49
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6f1a7a;
/* rgb */ color: rgb(111, 26, 122);
/* oklch */ color: oklch(40.2% 0.164 322.8);
Tailwind
colors: {
  custom: {
    50: '#9c61a1',
    500: '#6f1a7a',
    950: '#000000',
  },
}
SCSS
$custom: #6f1a7a;
$custom-light: #9c61a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1a7a",
  "rgb": {
    "r": 111,
    "g": 26,
    "b": 122
  },
  "hsl": {
    "h": 293.125,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40243,
    "c": 0.16392,
    "h": 322.8
  },
  "luminance": 0.05523
}

Semantic roles & 50–950 ramp

primary
#6F1A7A
secondary
#4EAE41
accent
#E84053
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F050F
muted
#7E7A7E

Preview Lab

Preview with #6F1A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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