#3F124E#3F124E

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

Color values

HEX#3F124E
RGBrgb(63, 18, 78)
HSLhsl(285, 63%, 19%)
HSVhsv(285, 77%, 31%)
CMYKcmyk(19.2%, 76.9%, 0%, 69.4%)
CIE-LABlab(15.69, 31.94, -27.00)
CIE-LCHlch(15.69, 41.83, 319.79°)
OKLaboklab(28.73% 0.0796 -0.0759)
OKLCHoklch(28.73% 0.11 316.3)
XYZxyz(3.6411, 2.0396, 7.4081)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F124E #214E12
analogous
#21124E #3F124E #4E123F
triadic
#3F124E #4E3F12 #124E3F
tetradic
#3F124E #4E2112 #214E12 #123F4E
square
#3F124E #4E2112 #214E12 #123F4E
split-complementary
#3F124E #3F4E12 #124E21
monochromatic
#140619 #17071C #3F124E #671D80 #8F29B1

Accessibility & contrast

On white

14.92
#3F124E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F124E
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F124E#FFFFFF#000000##FFFFFF
##3F124E1.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002450
Deuteranopia (green-blind)
#12284D
Tritanopia (blue-blind)
#3E1E2E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3f124e;
/* rgb */ color: rgb(63, 18, 78);
/* oklch */ color: oklch(28.7% 0.110 316.3);
Tailwind
colors: {
  custom: {
    50: '#775480',
    500: '#3f124e',
    950: '#000000',
  },
}
SCSS
$custom: #3f124e;
$custom-light: #775480;
$custom-dark: #000000;
JSON
{
  "hex": "#3f124e",
  "rgb": {
    "r": 63,
    "g": 18,
    "b": 78
  },
  "hsl": {
    "h": 285,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28725,
    "c": 0.10999,
    "h": 316.3
  },
  "luminance": 0.02039
}

Semantic roles & 50–950 ramp

primary
#3F124E
secondary
#498735
accent
#E6426B
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F124E

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

Preview Lab → · Contrast checker → · Palette generator →

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