#3F1355#3F1355

#3F1355 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.4% C 0.116 H 311.8°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#3F1355
RGBrgb(63, 19, 85)
HSLhsl(280, 63%, 20%)
HSVhsv(280, 78%, 33%)
CMYKcmyk(25.9%, 77.6%, 0%, 66.7%)
CIE-LABlab(16.40, 33.14, -30.63)
CIE-LCHlch(16.40, 45.13, 317.25°)
OKLaboklab(29.4% 0.0775 -0.0866)
OKLCHoklch(29.4% 0.116 311.8)
XYZxyz(3.9222, 2.1785, 8.8064)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1355 #295513
analogous
#1E1355 #3F1355 #55134A
triadic
#3F1355 #553F13 #13553F
tetradic
#3F1355 #551E13 #295513 #134A55
square
#3F1355 #551E13 #295513 #134A55
split-complementary
#3F1355 #4A5513 #13551E
monochromatic
#130619 #1A0823 #3F1355 #641E87 #8929B9

Accessibility & contrast

On white

14.63
#3F1355 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3F1355 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1355
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1355#FFFFFF#000000##FFFFFF
##3F13551.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002657
Deuteranopia (green-blind)
#0A2954
Tritanopia (blue-blind)
#3C2132
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3f1355;
/* rgb */ color: rgb(63, 19, 85);
/* oklch */ color: oklch(29.4% 0.116 311.8);
Tailwind
colors: {
  custom: {
    50: '#775585',
    500: '#3f1355',
    950: '#000000',
  },
}
SCSS
$custom: #3f1355;
$custom-light: #775585;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1355",
  "rgb": {
    "r": 63,
    "g": 19,
    "b": 85
  },
  "hsl": {
    "h": 280,
    "s": 63.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29397,
    "c": 0.11623,
    "h": 311.8
  },
  "luminance": 0.02178
}

Semantic roles & 50–950 ramp

primary
#3F1355
secondary
#538D36
accent
#E64178
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F1355

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

Preview Lab → · Contrast checker → · Palette generator →

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