#3F073B#3F073B

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

Color values

HEX#3F073B
RGBrgb(63, 7, 59)
HSLhsl(304, 80%, 14%)
HSVhsv(304, 89%, 25%)
CMYKcmyk(0%, 88.9%, 6.3%, 75.3%)
CIE-LABlab(12.76, 32.53, -18.40)
CIE-LCHlch(12.76, 37.37, 330.51°)
OKLaboklab(26.21% 0.093 -0.0507)
OKLCHoklch(26.21% 0.106 331.4)
XYZxyz(2.9153, 1.5247, 4.2776)
Luminance0.0152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F073B #073F0B
analogous
#27073F #3F073B #3F071F
triadic
#3F073B #3B3F07 #073B3F
tetradic
#3F073B #3F2707 #073F0B #071F3F
square
#3F073B #3F2707 #073F0B #071F3F
split-complementary
#3F073B #1F3F07 #073F27
monochromatic
#1C031A #1C031A #3F073B #760D6F #AD13A2

Accessibility & contrast

On white

16.09
#3F073B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F073B
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F073B#FFFFFF#000000##FFFFFF
##3F073B1.0016.091.3016.09
#FFFFFF16.091.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031C3C
Deuteranopia (green-blind)
#1A243A
Tritanopia (blue-blind)
#420E21
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3f073b;
/* rgb */ color: rgb(63, 7, 59);
/* oklch */ color: oklch(26.2% 0.106 331.4);
Tailwind
colors: {
  custom: {
    50: '#774f71',
    500: '#3f073b',
    950: '#000000',
  },
}
SCSS
$custom: #3f073b;
$custom-light: #774f71;
$custom-dark: #000000;
JSON
{
  "hex": "#3f073b",
  "rgb": {
    "r": 63,
    "g": 7,
    "b": 59
  },
  "hsl": {
    "h": 304.286,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.26206,
    "c": 0.10592,
    "h": 331.4
  },
  "luminance": 0.01524
}

Semantic roles & 50–950 ramp

primary
#3F073B
secondary
#247E2A
accent
#F63F31
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #3F073B

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

Preview Lab → · Contrast checker → · Palette generator →

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