#6F2181#6F2181

#6F2181 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.162 H 319.4°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#6F2181
RGBrgb(111, 33, 129)
HSLhsl(289, 59%, 32%)
HSVhsv(289, 74%, 51%)
CMYKcmyk(14%, 74.4%, 0%, 49.4%)
CIE-LABlab(29.55, 47.80, -37.67)
CIE-LCHlch(29.55, 60.86, 321.76°)
OKLaboklab(41.36% 0.1231 -0.1056)
OKLCHoklch(41.36% 0.162 319.4)
XYZxyz(11.0613, 6.0527, 21.3503)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2181 #338121
analogous
#3F2181 #6F2181 #812163
triadic
#6F2181 #816F21 #21816F
tetradic
#6F2181 #813F21 #338121 #216381
square
#6F2181 #813F21 #338121 #216381
split-complementary
#6F2181 #638121 #21813F
monochromatic
#1B0820 #451550 #6F2181 #992DB2 #B84BD1

Accessibility & contrast

On white

9.50
#6F2181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6F2181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2181
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2181#FFFFFF#000000##FFFFFF
##6F21811.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004084
Deuteranopia (green-blind)
#28487F
Tritanopia (blue-blind)
#6F344F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6f2181;
/* rgb */ color: rgb(111, 33, 129);
/* oklch */ color: oklch(41.4% 0.162 319.4);
Tailwind
colors: {
  custom: {
    50: '#9c65a6',
    500: '#6f2181',
    950: '#000000',
  },
}
SCSS
$custom: #6f2181;
$custom-light: #9c65a6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2181",
  "rgb": {
    "r": 111,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 288.75,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41364,
    "c": 0.16222,
    "h": 319.4
  },
  "luminance": 0.06052
}

Semantic roles & 50–950 ramp

primary
#6F2181
secondary
#5EB44A
accent
#E24563
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #6F2181

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

Preview Lab → · Contrast checker → · Palette generator →

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