#3F063B#3F063B

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

Color values

HEX#3F063B
RGBrgb(63, 6, 59)
HSLhsl(304, 83%, 14%)
HSVhsv(304, 90%, 25%)
CMYKcmyk(0%, 90.5%, 6.3%, 75.3%)
CIE-LABlab(12.63, 32.93, -18.61)
CIE-LCHlch(12.63, 37.82, 330.52°)
OKLaboklab(26.11% 0.0941 -0.0513)
OKLCHoklch(26.11% 0.107 331.4)
XYZxyz(2.9044, 1.5030, 4.2740)
Luminance0.0150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F063B #063F0A
analogous
#26063F #3F063B #3F061E
triadic
#3F063B #3B3F06 #063B3F
tetradic
#3F063B #3F2606 #063F0A #061E3F
square
#3F063B #3F2606 #063F0A #061E3F
split-complementary
#3F063B #1E3F06 #063F26
monochromatic
#1C031A #1C031A #3F063B #770B6F #AF11A4

Accessibility & contrast

On white

16.15
#3F063B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F063B
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F063B#FFFFFF#000000##FFFFFF
##3F063B1.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021C3C
Deuteranopia (green-blind)
#19233A
Tritanopia (blue-blind)
#420E20
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3f063b;
/* rgb */ color: rgb(63, 6, 59);
/* oklch */ color: oklch(26.1% 0.107 331.4);
Tailwind
colors: {
  custom: {
    50: '#774e71',
    500: '#3f063b',
    950: '#000000',
  },
}
SCSS
$custom: #3f063b;
$custom-light: #774e71;
$custom-dark: #000000;
JSON
{
  "hex": "#3f063b",
  "rgb": {
    "r": 63,
    "g": 6,
    "b": 59
  },
  "hsl": {
    "h": 304.211,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.26108,
    "c": 0.10723,
    "h": 331.4
  },
  "luminance": 0.01503
}

Semantic roles & 50–950 ramp

primary
#3F063B
secondary
#227F28
accent
#F93D2F
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #3F063B

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

Preview Lab → · Contrast checker → · Palette generator →

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