#941581#941581

#941581 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.191 H 335.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#941581
RGBrgb(148, 21, 129)
HSLhsl(309, 75%, 33%)
HSVhsv(309, 86%, 58%)
CMYKcmyk(0%, 85.8%, 12.8%, 42%)
CIE-LABlab(34.84, 59.47, -28.85)
CIE-LCHlch(34.84, 66.10, 334.12°)
OKLaboklab(46.39% 0.1745 -0.0789)
OKLCHoklch(46.39% 0.191 335.7)
XYZxyz(16.4436, 8.4188, 21.5236)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941581 #159428
analogous
#671594 #941581 #941542
triadic
#941581 #819415 #158194
tetradic
#941581 #946715 #159428 #154294
square
#941581 #946715 #159428 #154294
split-complementary
#941581 #429415 #159467
monochromatic
#290624 #5E0D52 #941581 #CA1DB0 #E440CB

Accessibility & contrast

On white

7.83
#941581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#941581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941581
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941581#FFFFFF#000000##FFFFFF
##9415811.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164684
Deuteranopia (green-blind)
#48587E
Tritanopia (blue-blind)
#9C224D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #941581;
/* rgb */ color: rgb(148, 21, 129);
/* oklch */ color: oklch(46.4% 0.191 335.7);
Tailwind
colors: {
  custom: {
    50: '#b766a6',
    500: '#941581',
    950: '#000000',
  },
}
SCSS
$custom: #941581;
$custom-light: #b766a6;
$custom-dark: #000000;
JSON
{
  "hex": "#941581",
  "rgb": {
    "r": 148,
    "g": 21,
    "b": 129
  },
  "hsl": {
    "h": 308.976,
    "s": 75.148,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46389,
    "c": 0.19149,
    "h": 335.7
  },
  "luminance": 0.08417
}

Semantic roles & 50–950 ramp

primary
#941581
secondary
#41C454
accent
#F25236
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #941581

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

Preview Lab → · Contrast checker → · Palette generator →

#941581 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva