#3F124F#3F124F

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

Color values

HEX#3F124F
RGBrgb(63, 18, 79)
HSLhsl(284, 63%, 19%)
HSVhsv(284, 77%, 31%)
CMYKcmyk(20.3%, 77.2%, 0%, 69%)
CIE-LABlab(15.77, 32.18, -27.57)
CIE-LCHlch(15.77, 42.37, 319.41°)
OKLaboklab(28.8% 0.0795 -0.0776)
OKLCHoklch(28.8% 0.111 315.7)
XYZxyz(3.6773, 2.0540, 7.5984)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F124F #224F12
analogous
#21124F #3F124F #4F1241
triadic
#3F124F #4F3F12 #124F3F
tetradic
#3F124F #4F2112 #224F12 #12414F
square
#3F124F #4F2112 #224F12 #12414F
split-complementary
#3F124F #414F12 #124F21
monochromatic
#140619 #17071D #3F124F #671D81 #8E29B3

Accessibility & contrast

On white

14.89
#3F124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F124F
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F124F#FFFFFF#000000##FFFFFF
##3F124F1.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002551
Deuteranopia (green-blind)
#11294E
Tritanopia (blue-blind)
#3E1E2F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3f124f;
/* rgb */ color: rgb(63, 18, 79);
/* oklch */ color: oklch(28.8% 0.111 315.7);
Tailwind
colors: {
  custom: {
    50: '#775581',
    500: '#3f124f',
    950: '#000000',
  },
}
SCSS
$custom: #3f124f;
$custom-light: #775581;
$custom-dark: #000000;
JSON
{
  "hex": "#3f124f",
  "rgb": {
    "r": 63,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 284.262,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28802,
    "c": 0.11107,
    "h": 315.7
  },
  "luminance": 0.02054
}

Semantic roles & 50–950 ramp

primary
#3F124F
secondary
#4B8835
accent
#E6426D
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F124F

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

Preview Lab → · Contrast checker → · Palette generator →

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