#3F1054#3F1054

#3F1054 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.0% C 0.119 H 312.9°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#3F1054
RGBrgb(63, 16, 84)
HSLhsl(281, 68%, 20%)
HSVhsv(281, 81%, 33%)
CMYKcmyk(25%, 81%, 0%, 67.1%)
CIE-LABlab(15.84, 34.26, -30.86)
CIE-LCHlch(15.84, 46.11, 317.99°)
OKLaboklab(28.98% 0.081 -0.0872)
OKLCHoklch(28.98% 0.119 312.9)
XYZxyz(3.8351, 2.0676, 8.5828)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1054 #255410
analogous
#1D1054 #3F1054 #541047
triadic
#3F1054 #543F10 #10543F
tetradic
#3F1054 #541D10 #255410 #104754
square
#3F1054 #541D10 #255410 #104754
split-complementary
#3F1054 #475410 #10541D
monochromatic
#13051A #180621 #3F1054 #661A87 #8C24BB

Accessibility & contrast

On white

14.86
#3F1054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1054
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1054#FFFFFF#000000##FFFFFF
##3F10541.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002556
Deuteranopia (green-blind)
#082853
Tritanopia (blue-blind)
#3D1F31
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3f1054;
/* rgb */ color: rgb(63, 16, 84);
/* oklch */ color: oklch(29.0% 0.119 312.9);
Tailwind
colors: {
  custom: {
    50: '#775485',
    500: '#3f1054',
    950: '#000000',
  },
}
SCSS
$custom: #3f1054;
$custom-light: #775485;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1054",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 84
  },
  "hsl": {
    "h": 281.471,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28975,
    "c": 0.11907,
    "h": 312.9
  },
  "luminance": 0.02067
}

Semantic roles & 50–950 ramp

primary
#3F1054
secondary
#4E8E32
accent
#EB3D73
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F1054

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

Preview Lab → · Contrast checker → · Palette generator →

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