#3F0838#3F0838

#3F0838 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.1% C 0.102 H 334.0°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#3F0838
RGBrgb(63, 8, 56)
HSLhsl(308, 77%, 14%)
HSVhsv(308, 87%, 25%)
CMYKcmyk(0%, 87.3%, 11.1%, 75.3%)
CIE-LABlab(12.71, 31.59, -16.33)
CIE-LCHlch(12.71, 35.56, 332.67°)
OKLaboklab(26.11% 0.0917 -0.0448)
OKLCHoklch(26.11% 0.102 334)
XYZxyz(2.8506, 1.5162, 3.8831)
Luminance0.0152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0838 #083F0F
analogous
#2B083F #3F0838 #3F081D
triadic
#3F0838 #383F08 #08383F
tetradic
#3F0838 #3F2B08 #083F0F #081D3F
square
#3F0838 #3F2B08 #083F0F #081D3F
split-complementary
#3F0838 #1D3F08 #083F2B
monochromatic
#1B0318 #1B0318 #3F0838 #750F68 #AC1699

Accessibility & contrast

On white

16.11
#3F0838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3F0838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0838
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0838#FFFFFF#000000##FFFFFF
##3F08381.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071C39
Deuteranopia (green-blind)
#1C2437
Tritanopia (blue-blind)
#420D1F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3f0838;
/* rgb */ color: rgb(63, 8, 56);
/* oklch */ color: oklch(26.1% 0.102 334.0);
Tailwind
colors: {
  custom: {
    50: '#774f6f',
    500: '#3f0838',
    950: '#000000',
  },
}
SCSS
$custom: #3f0838;
$custom-light: #774f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0838",
  "rgb": {
    "r": 63,
    "g": 8,
    "b": 56
  },
  "hsl": {
    "h": 307.636,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.26106,
    "c": 0.10207,
    "h": 334
  },
  "luminance": 0.01516
}

Semantic roles & 50–950 ramp

primary
#3F0838
secondary
#257E30
accent
#F44C34
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #3F0838

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

Preview Lab → · Contrast checker → · Palette generator →

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