#6F1C94#6F1C94

#6F1C94 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.3% C 0.185 H 312.4°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#6F1C94
RGBrgb(111, 28, 148)
HSLhsl(282, 68%, 35%)
HSVhsv(282, 81%, 58%)
CMYKcmyk(25%, 81.1%, 0%, 42%)
CIE-LABlab(30.28, 53.55, -48.28)
CIE-LCHlch(30.28, 72.10, 317.96°)
OKLaboklab(42.31% 0.1248 -0.1367)
OKLCHoklch(42.31% 0.185 312.4)
XYZxyz(12.3151, 6.3485, 28.5879)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1C94 #41941C
analogous
#331C94 #6F1C94 #941C7D
triadic
#6F1C94 #946F1C #1C946F
tetradic
#6F1C94 #94331C #41941C #1C7D94
square
#6F1C94 #94331C #41941C #1C7D94
split-complementary
#6F1C94 #7D941C #1C9433
monochromatic
#22092D #481261 #6F1C94 #9626C7 #B14DDD

Accessibility & contrast

On white

9.25
#6F1C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6F1C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1C94
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1C94#FFFFFF#000000##FFFFFF
##6F1C941.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#034992
Tritanopia (blue-blind)
#6B3A59
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6f1c94;
/* rgb */ color: rgb(111, 28, 148);
/* oklch */ color: oklch(42.3% 0.185 312.4);
Tailwind
colors: {
  custom: {
    50: '#9d63b4',
    500: '#6f1c94',
    950: '#000000',
  },
}
SCSS
$custom: #6f1c94;
$custom-light: #9d63b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1c94",
  "rgb": {
    "r": 111,
    "g": 28,
    "b": 148
  },
  "hsl": {
    "h": 281.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42313,
    "c": 0.18514,
    "h": 312.4
  },
  "luminance": 0.06348
}

Semantic roles & 50–950 ramp

primary
#6F1C94
secondary
#70C04C
accent
#EB3D72
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F1C94

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

Preview Lab → · Contrast checker → · Palette generator →

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