#3F1850#3F1850

#3F1850 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.7% C 0.103 H 314.0°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#3F1850
RGBrgb(63, 24, 80)
HSLhsl(282, 54%, 20%)
HSVhsv(282, 70%, 31%)
CMYKcmyk(21.2%, 70%, 0%, 68.6%)
CIE-LABlab(16.94, 29.36, -26.37)
CIE-LCHlch(16.94, 39.47, 318.07°)
OKLaboklab(29.67% 0.0716 -0.0741)
OKLCHoklch(29.67% 0.103 314)
XYZxyz(3.8243, 2.2893, 7.8283)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1850 #295018
analogous
#231850 #3F1850 #501845
triadic
#3F1850 #503F18 #18503F
tetradic
#3F1850 #502318 #295018 #184550
square
#3F1850 #502318 #295018 #184550
split-complementary
#3F1850 #455018 #185023
monochromatic
#130718 #1A0A21 #3F1850 #64267F #8934AE

Accessibility & contrast

On white

14.41
#3F1850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3F1850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1850
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1850#FFFFFF#000000##FFFFFF
##3F18501.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022852
Deuteranopia (green-blind)
#162B4F
Tritanopia (blue-blind)
#3D2331
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3f1850;
/* rgb */ color: rgb(63, 24, 80);
/* oklch */ color: oklch(29.7% 0.103 314.0);
Tailwind
colors: {
  custom: {
    50: '#765881',
    500: '#3f1850',
    950: '#000000',
  },
}
SCSS
$custom: #3f1850;
$custom-light: #765881;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1850",
  "rgb": {
    "r": 63,
    "g": 24,
    "b": 80
  },
  "hsl": {
    "h": 281.786,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29665,
    "c": 0.10308,
    "h": 314
  },
  "luminance": 0.02289
}

Semantic roles & 50–950 ramp

primary
#3F1850
secondary
#53873D
accent
#DD4B77
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F1850

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

Preview Lab → · Contrast checker → · Palette generator →

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