#6F1A94#6F1A94

#6F1A94 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.187 H 312.5°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#6F1A94
RGBrgb(111, 26, 148)
HSLhsl(282, 70%, 34%)
HSVhsv(282, 82%, 58%)
CMYKcmyk(25%, 82.4%, 0%, 42%)
CIE-LABlab(30.05, 54.20, -48.65)
CIE-LCHlch(30.05, 72.83, 318.09°)
OKLaboklab(42.16% 0.1264 -0.1378)
OKLCHoklch(42.16% 0.187 312.5)
XYZxyz(12.2693, 6.2568, 28.5726)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1A94 #3F941A
analogous
#321A94 #6F1A94 #941A7C
triadic
#6F1A94 #946F1A #1A946F
tetradic
#6F1A94 #94321A #3F941A #1A7C94
square
#6F1A94 #94321A #3F941A #1A7C94
split-complementary
#6F1A94 #7C941A #1A9432
monochromatic
#21082C #481160 #6F1A94 #9623C8 #B249DF

Accessibility & contrast

On white

9.33
#6F1A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6F1A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1A94
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1A94#FFFFFF#000000##FFFFFF
##6F1A941.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f1a94;
/* rgb */ color: rgb(111, 26, 148);
/* oklch */ color: oklch(42.2% 0.187 312.5);
Tailwind
colors: {
  custom: {
    50: '#9d63b4',
    500: '#6f1a94',
    950: '#000000',
  },
}
SCSS
$custom: #6f1a94;
$custom-light: #9d63b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1a94",
  "rgb": {
    "r": 111,
    "g": 26,
    "b": 148
  },
  "hsl": {
    "h": 281.803,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42156,
    "c": 0.18698,
    "h": 312.5
  },
  "luminance": 0.06256
}

Semantic roles & 50–950 ramp

primary
#6F1A94
secondary
#6DC149
accent
#ED3B71
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F1A94

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

Preview Lab → · Contrast checker → · Palette generator →

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