#3F034E#3F034E

#3F034E is a dark, vivid purple. Relative luminance 0.017; OKLCH L 27.3% C 0.127 H 317.9°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#3F034E
RGBrgb(63, 3, 78)
HSLhsl(288, 93%, 16%)
HSVhsv(288, 96%, 31%)
CMYKcmyk(19.2%, 96.2%, 0%, 69.4%)
CIE-LABlab(13.66, 37.81, -30.28)
CIE-LCHlch(13.66, 48.44, 321.31°)
OKLaboklab(27.29% 0.0946 -0.0854)
OKLCHoklch(27.29% 0.127 317.9)
XYZxyz(3.4574, 1.6721, 7.3469)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F034E #124E03
analogous
#19034E #3F034E #4E0337
triadic
#3F034E #4E3F03 #034E3F
tetradic
#3F034E #4E1903 #124E03 #03374E
square
#3F034E #4E1903 #124E03 #03374E
split-complementary
#3F034E #374E03 #034E19
monochromatic
#18011D #18011D #3F034E #6F0589 #9E08C4

Accessibility & contrast

On white

15.74
#3F034E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3F034E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F034E
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F034E#FFFFFF#000000##FFFFFF
##3F034E1.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F50
Deuteranopia (green-blind)
#06254D
Tritanopia (blue-blind)
#3E162B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3f034e;
/* rgb */ color: rgb(63, 3, 78);
/* oklch */ color: oklch(27.3% 0.127 317.9);
Tailwind
colors: {
  custom: {
    50: '#774e80',
    500: '#3f034e',
    950: '#000000',
  },
}
SCSS
$custom: #3f034e;
$custom-light: #774e80;
$custom-dark: #000000;
JSON
{
  "hex": "#3f034e",
  "rgb": {
    "r": 63,
    "g": 3,
    "b": 78
  },
  "hsl": {
    "h": 288,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27293,
    "c": 0.12747,
    "h": 317.9
  },
  "luminance": 0.01672
}

Semantic roles & 50–950 ramp

primary
#3F034E
secondary
#358E1E
accent
#FF2954
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3F034E

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

Preview Lab → · Contrast checker → · Palette generator →

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