#3F0738#3F0738

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

Color values

HEX#3F0738
RGBrgb(63, 7, 56)
HSLhsl(308, 80%, 14%)
HSVhsv(308, 89%, 25%)
CMYKcmyk(0%, 88.9%, 11.1%, 75.3%)
CIE-LABlab(12.57, 31.99, -16.55)
CIE-LCHlch(12.57, 36.02, 332.65°)
OKLaboklab(26.01% 0.0929 -0.0454)
OKLCHoklch(26.01% 0.103 334)
XYZxyz(2.8397, 1.4945, 3.8795)
Luminance0.0149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0738 #073F0E
analogous
#2A073F #3F0738 #3F071C
triadic
#3F0738 #383F07 #07383F
tetradic
#3F0738 #3F2A07 #073F0E #071C3F
square
#3F0738 #3F2A07 #073F0E #071C3F
split-complementary
#3F0738 #1C3F07 #073F2A
monochromatic
#1C0318 #1C0318 #3F0738 #760D69 #AD139A

Accessibility & contrast

On white

16.17
#3F0738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0738
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0738#FFFFFF#000000##FFFFFF
##3F07381.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f0738;
/* rgb */ color: rgb(63, 7, 56);
/* oklch */ color: oklch(26.0% 0.103 334.0);
Tailwind
colors: {
  custom: {
    50: '#774e6f',
    500: '#3f0738',
    950: '#000000',
  },
}
SCSS
$custom: #3f0738;
$custom-light: #774e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0738",
  "rgb": {
    "r": 63,
    "g": 7,
    "b": 56
  },
  "hsl": {
    "h": 307.5,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.26008,
    "c": 0.1034,
    "h": 334
  },
  "luminance": 0.01494
}

Semantic roles & 50–950 ramp

primary
#3F0738
secondary
#247E2F
accent
#F64A31
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #3F0738

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

Preview Lab → · Contrast checker → · Palette generator →

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