#3F134E#3F134E

#3F134E is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.8% C 0.109 H 316.2°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#3F134E
RGBrgb(63, 19, 78)
HSLhsl(285, 61%, 19%)
HSVhsv(285, 76%, 31%)
CMYKcmyk(19.2%, 75.6%, 0%, 69.4%)
CIE-LABlab(15.86, 31.46, -26.73)
CIE-LCHlch(15.86, 41.28, 319.65°)
OKLaboklab(28.85% 0.0783 -0.0751)
OKLCHoklch(28.85% 0.109 316.2)
XYZxyz(3.6577, 2.0727, 7.4136)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F134E #224E13
analogous
#22134E #3F134E #4E1340
triadic
#3F134E #4E3F13 #134E3F
tetradic
#3F134E #4E2213 #224E13 #13404E
square
#3F134E #4E2213 #224E13 #13404E
split-complementary
#3F134E #404E13 #134E22
monochromatic
#140619 #17071D #3F134E #671F7F #8E2BB0

Accessibility & contrast

On white

14.85
#3F134E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F134E
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F134E#FFFFFF#000000##FFFFFF
##3F134E1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002550
Deuteranopia (green-blind)
#13294D
Tritanopia (blue-blind)
#3E1F2F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3f134e;
/* rgb */ color: rgb(63, 19, 78);
/* oklch */ color: oklch(28.8% 0.109 316.2);
Tailwind
colors: {
  custom: {
    50: '#765580',
    500: '#3f134e',
    950: '#000000',
  },
}
SCSS
$custom: #3f134e;
$custom-light: #765580;
$custom-dark: #000000;
JSON
{
  "hex": "#3f134e",
  "rgb": {
    "r": 63,
    "g": 19,
    "b": 78
  },
  "hsl": {
    "h": 284.746,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28847,
    "c": 0.10854,
    "h": 316.2
  },
  "luminance": 0.02073
}

Semantic roles & 50–950 ramp

primary
#3F134E
secondary
#4B8736
accent
#E4446D
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F134E

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

Preview Lab → · Contrast checker → · Palette generator →

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