#3F134C#3F134C

#3F134C is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.7% C 0.106 H 317.5°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#3F134C
RGBrgb(63, 19, 76)
HSLhsl(286, 60%, 19%)
HSVhsv(286, 75%, 30%)
CMYKcmyk(17.1%, 75%, 0%, 70.2%)
CIE-LABlab(15.72, 30.99, -25.59)
CIE-LCHlch(15.72, 40.19, 320.45°)
OKLaboklab(28.7% 0.0785 -0.0718)
OKLCHoklch(28.7% 0.106 317.5)
XYZxyz(3.5871, 2.0445, 7.0417)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F134C #204C13
analogous
#22134C #3F134C #4C133C
triadic
#3F134C #4C3F13 #134C3F
tetradic
#3F134C #4C2213 #204C13 #133C4C
square
#3F134C #4C2213 #204C13 #133C4C
split-complementary
#3F134C #3C4C13 #134C22
monochromatic
#140618 #16071B #3F134C #681F7D #902BAE

Accessibility & contrast

On white

14.91
#3F134C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3F134C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F134C
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F134C#FFFFFF#000000##FFFFFF
##3F134C1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244E
Deuteranopia (green-blind)
#15294B
Tritanopia (blue-blind)
#3F1E2D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3f134c;
/* rgb */ color: rgb(63, 19, 76);
/* oklch */ color: oklch(28.7% 0.106 317.5);
Tailwind
colors: {
  custom: {
    50: '#76557e',
    500: '#3f134c',
    950: '#000000',
  },
}
SCSS
$custom: #3f134c;
$custom-light: #76557e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f134c",
  "rgb": {
    "r": 63,
    "g": 19,
    "b": 76
  },
  "hsl": {
    "h": 286.316,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28696,
    "c": 0.10638,
    "h": 317.5
  },
  "luminance": 0.02044
}

Semantic roles & 50–950 ramp

primary
#3F134C
secondary
#488536
accent
#E34569
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F134C

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

Preview Lab → · Contrast checker → · Palette generator →

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