#3F1357#3F1357

#3F1357 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.6% C 0.118 H 310.7°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#3F1357
RGBrgb(63, 19, 87)
HSLhsl(279, 64%, 21%)
HSVhsv(279, 78%, 34%)
CMYKcmyk(27.6%, 78.2%, 0%, 65.9%)
CIE-LABlab(16.56, 33.63, -31.73)
CIE-LCHlch(16.56, 46.23, 316.67°)
OKLaboklab(29.56% 0.0772 -0.0898)
OKLCHoklch(29.56% 0.118 310.7)
XYZxyz(4.0027, 2.2107, 9.2308)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1357 #2B5713
analogous
#1D1357 #3F1357 #57134D
triadic
#3F1357 #573F13 #13573F
tetradic
#3F1357 #571D13 #2B5713 #134D57
square
#3F1357 #571D13 #2B5713 #134D57
split-complementary
#3F1357 #4D5713 #13571D
monochromatic
#120519 #1B0825 #3F1357 #631E89 #8829BB

Accessibility & contrast

On white

14.56
#3F1357 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3F1357 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1357
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1357#FFFFFF#000000##FFFFFF
##3F13571.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002759
Deuteranopia (green-blind)
#072A56
Tritanopia (blue-blind)
#3C2233
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3f1357;
/* rgb */ color: rgb(63, 19, 87);
/* oklch */ color: oklch(29.6% 0.118 310.7);
Tailwind
colors: {
  custom: {
    50: '#775587',
    500: '#3f1357',
    950: '#000000',
  },
}
SCSS
$custom: #3f1357;
$custom-light: #775587;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1357",
  "rgb": {
    "r": 63,
    "g": 19,
    "b": 87
  },
  "hsl": {
    "h": 278.824,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.2956,
    "c": 0.11844,
    "h": 310.7
  },
  "luminance": 0.02211
}

Semantic roles & 50–950 ramp

primary
#3F1357
secondary
#568F36
accent
#E7417B
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F1357

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

Preview Lab → · Contrast checker → · Palette generator →

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