#3F083A#3F083A

#3F083A is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.2% C 0.104 H 332.2°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#3F083A
RGBrgb(63, 8, 58)
HSLhsl(305, 77%, 14%)
HSVhsv(305, 87%, 25%)
CMYKcmyk(0%, 87.3%, 7.9%, 75.3%)
CIE-LABlab(12.84, 31.95, -17.57)
CIE-LCHlch(12.84, 36.46, 331.20°)
OKLaboklab(26.24% 0.0918 -0.0483)
OKLCHoklch(26.24% 0.104 332.2)
XYZxyz(2.9005, 1.5362, 4.1459)
Luminance0.0154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F083A #083F0D
analogous
#29083F #3F083A #3F081F
triadic
#3F083A #3A3F08 #083A3F
tetradic
#3F083A #3F2908 #083F0D #081F3F
square
#3F083A #3F2908 #083F0D #081F3F
split-complementary
#3F083A #1F3F08 #083F29
monochromatic
#1B0319 #1B0319 #3F083A #750F6C #AC169E

Accessibility & contrast

On white

16.06
#3F083A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#3F083A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F083A
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F083A#FFFFFF#000000##FFFFFF
##3F083A1.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051C3B
Deuteranopia (green-blind)
#1B2439
Tritanopia (blue-blind)
#420F20
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3f083a;
/* rgb */ color: rgb(63, 8, 58);
/* oklch */ color: oklch(26.2% 0.104 332.2);
Tailwind
colors: {
  custom: {
    50: '#774f70',
    500: '#3f083a',
    950: '#000000',
  },
}
SCSS
$custom: #3f083a;
$custom-light: #774f70;
$custom-dark: #000000;
JSON
{
  "hex": "#3f083a",
  "rgb": {
    "r": 63,
    "g": 8,
    "b": 58
  },
  "hsl": {
    "h": 305.455,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.26237,
    "c": 0.10377,
    "h": 332.2
  },
  "luminance": 0.01536
}

Semantic roles & 50–950 ramp

primary
#3F083A
secondary
#257E2D
accent
#F44534
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #3F083A

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

Preview Lab → · Contrast checker → · Palette generator →

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