#3F1353#3F1353

#3F1353 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.2% C 0.114 H 313.0°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#3F1353
RGBrgb(63, 19, 83)
HSLhsl(281, 63%, 20%)
HSVhsv(281, 77%, 33%)
CMYKcmyk(24.1%, 77.1%, 0%, 67.5%)
CIE-LABlab(16.24, 32.65, -29.53)
CIE-LCHlch(16.24, 44.03, 317.87°)
OKLaboklab(29.24% 0.0778 -0.0833)
OKLCHoklch(29.24% 0.114 313)
XYZxyz(3.8438, 2.1472, 8.3939)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1353 #275313
analogous
#1F1353 #3F1353 #531347
triadic
#3F1353 #533F13 #13533F
tetradic
#3F1353 #531F13 #275313 #134753
square
#3F1353 #531F13 #275313 #134753
split-complementary
#3F1353 #475313 #13531F
monochromatic
#130619 #190821 #3F1353 #651E85 #8B2AB7

Accessibility & contrast

On white

14.69
#3F1353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#3F1353 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1353
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1353#FFFFFF#000000##FFFFFF
##3F13531.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002655
Deuteranopia (green-blind)
#0D2952
Tritanopia (blue-blind)
#3D2131
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3f1353;
/* rgb */ color: rgb(63, 19, 83);
/* oklch */ color: oklch(29.2% 0.114 313.0);
Tailwind
colors: {
  custom: {
    50: '#775584',
    500: '#3f1353',
    950: '#000000',
  },
}
SCSS
$custom: #3f1353;
$custom-light: #775584;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1353",
  "rgb": {
    "r": 63,
    "g": 19,
    "b": 83
  },
  "hsl": {
    "h": 281.25,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.29236,
    "c": 0.11402,
    "h": 313
  },
  "luminance": 0.02147
}

Semantic roles & 50–950 ramp

primary
#3F1353
secondary
#518B36
accent
#E64275
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F1353

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

Preview Lab → · Contrast checker → · Palette generator →

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