#3F063A#3F063A

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

Color values

HEX#3F063A
RGBrgb(63, 6, 58)
HSLhsl(305, 83%, 14%)
HSVhsv(305, 90%, 25%)
CMYKcmyk(0%, 90.5%, 7.9%, 75.3%)
CIE-LABlab(12.56, 32.75, -18.00)
CIE-LCHlch(12.56, 37.37, 331.20°)
OKLaboklab(26.04% 0.0941 -0.0496)
OKLCHoklch(26.04% 0.106 332.2)
XYZxyz(2.8788, 1.4927, 4.1387)
Luminance0.0149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F063A #063F0B
analogous
#27063F #3F063A #3F061D
triadic
#3F063A #3A3F06 #063A3F
tetradic
#3F063A #3F2706 #063F0B #061D3F
square
#3F063A #3F2706 #063F0B #061D3F
split-complementary
#3F063A #1D3F06 #063F27
monochromatic
#1C031A #1C031A #3F063A #770B6D #AF11A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F063A#FFFFFF#000000##FFFFFF
##3F063A1.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)
#031C3B
Deuteranopia (green-blind)
#1A2339
Tritanopia (blue-blind)
#420D20
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3f063a;
/* rgb */ color: rgb(63, 6, 58);
/* oklch */ color: oklch(26.0% 0.106 332.2);
Tailwind
colors: {
  custom: {
    50: '#774e70',
    500: '#3f063a',
    950: '#000000',
  },
}
SCSS
$custom: #3f063a;
$custom-light: #774e70;
$custom-dark: #000000;
JSON
{
  "hex": "#3f063a",
  "rgb": {
    "r": 63,
    "g": 6,
    "b": 58
  },
  "hsl": {
    "h": 305.263,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.26041,
    "c": 0.10639,
    "h": 332.2
  },
  "luminance": 0.01492
}

Semantic roles & 50–950 ramp

primary
#3F063A
secondary
#227F2A
accent
#F9412F
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #3F063A

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

Preview Lab → · Contrast checker → · Palette generator →

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