#3F0337#3F0337

#3F0337 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.5% C 0.108 H 334.7°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#3F0337
RGBrgb(63, 3, 55)
HSLhsl(308, 91%, 13%)
HSVhsv(308, 95%, 25%)
CMYKcmyk(0%, 95.2%, 12.7%, 75.3%)
CIE-LABlab(11.94, 33.46, -16.82)
CIE-LCHlch(11.94, 37.45, 333.31°)
OKLaboklab(25.54% 0.0977 -0.0461)
OKLCHoklch(25.54% 0.108 334.7)
XYZxyz(2.7721, 1.3980, 3.7375)
Luminance0.0140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0337 #033F0B
analogous
#29033F #3F0337 #3F0319
triadic
#3F0337 #373F03 #03373F
tetradic
#3F0337 #3F2903 #033F0B #03193F
square
#3F0337 #3F2903 #033F0B #03193F
split-complementary
#3F0337 #193F03 #033F29
monochromatic
#1D0119 #1D0119 #3F0337 #79066A #B4099D

Accessibility & contrast

On white

16.41
#3F0337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#3F0337 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0337
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0337#FFFFFF#000000##FFFFFF
##3F03371.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021A38
Deuteranopia (green-blind)
#1A2236
Tritanopia (blue-blind)
#43091D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3f0337;
/* rgb */ color: rgb(63, 3, 55);
/* oklch */ color: oklch(25.5% 0.108 334.7);
Tailwind
colors: {
  custom: {
    50: '#774d6e',
    500: '#3f0337',
    950: '#000000',
  },
}
SCSS
$custom: #3f0337;
$custom-light: #774d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0337",
  "rgb": {
    "r": 63,
    "g": 3,
    "b": 55
  },
  "hsl": {
    "h": 308,
    "s": 90.909,
    "l": 12.941
  },
  "oklch": {
    "l": 0.25538,
    "c": 0.10805,
    "h": 334.7
  },
  "luminance": 0.01398
}

Semantic roles & 50–950 ramp

primary
#3F0337
secondary
#1D812A
accent
#FF4529
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090207
muted
#7B787A

Preview Lab

Preview with #3F0337

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

Preview Lab → · Contrast checker → · Palette generator →

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