#3F1950#3F1950

#3F1950 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.8% C 0.101 H 313.8°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#3F1950
RGBrgb(63, 25, 80)
HSLhsl(281, 52%, 21%)
HSVhsv(281, 69%, 31%)
CMYKcmyk(21.2%, 68.8%, 0%, 68.6%)
CIE-LABlab(17.14, 28.81, -26.05)
CIE-LCHlch(17.14, 38.84, 317.88°)
OKLaboklab(29.81% 0.0702 -0.0732)
OKLCHoklch(29.81% 0.101 313.8)
XYZxyz(3.8453, 2.3313, 7.8353)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1950 #2A5019
analogous
#231950 #3F1950 #501945
triadic
#3F1950 #503F19 #19503F
tetradic
#3F1950 #502319 #2A5019 #194550
square
#3F1950 #502319 #2A5019 #194550
split-complementary
#3F1950 #455019 #195023
monochromatic
#120717 #1A0A21 #3F1950 #64287F #8836AD

Accessibility & contrast

On white

14.32
#3F1950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3F1950 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1950
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1950#FFFFFF#000000##FFFFFF
##3F19501.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052852
Deuteranopia (green-blind)
#172B4F
Tritanopia (blue-blind)
#3D2332
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3f1950;
/* rgb */ color: rgb(63, 25, 80);
/* oklch */ color: oklch(29.8% 0.101 313.8);
Tailwind
colors: {
  custom: {
    50: '#765881',
    500: '#3f1950',
    950: '#000000',
  },
}
SCSS
$custom: #3f1950;
$custom-light: #765881;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1950",
  "rgb": {
    "r": 63,
    "g": 25,
    "b": 80
  },
  "hsl": {
    "h": 281.455,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.2981,
    "c": 0.10143,
    "h": 313.8
  },
  "luminance": 0.02331
}

Semantic roles & 50–950 ramp

primary
#3F1950
secondary
#55863E
accent
#DC4C78
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F1950

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

Preview Lab → · Contrast checker → · Palette generator →

#3F1950 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva