#3F1057#3F1057

#3F1057 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.122 H 311.2°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#3F1057
RGBrgb(63, 16, 87)
HSLhsl(280, 69%, 20%)
HSVhsv(280, 82%, 34%)
CMYKcmyk(27.6%, 81.6%, 0%, 65.9%)
CIE-LABlab(16.08, 34.98, -32.49)
CIE-LCHlch(16.08, 47.74, 317.11°)
OKLaboklab(29.23% 0.0805 -0.092)
OKLCHoklch(29.23% 0.122 311.2)
XYZxyz(3.9552, 2.1156, 9.2150)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1057 #285710
analogous
#1B1057 #3F1057 #57104C
triadic
#3F1057 #573F10 #10573F
tetradic
#3F1057 #571B10 #285710 #104C57
square
#3F1057 #571B10 #285710 #104C57
split-complementary
#3F1057 #4C5710 #10571B
monochromatic
#13051A #1A0623 #3F1057 #641A8B #8A23BE

Accessibility & contrast

On white

14.76
#3F1057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3F1057 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1057
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1057#FFFFFF#000000##FFFFFF
##3F10571.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002659
Deuteranopia (green-blind)
#032956
Tritanopia (blue-blind)
#3C2133
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3f1057;
/* rgb */ color: rgb(63, 16, 87);
/* oklch */ color: oklch(29.2% 0.122 311.2);
Tailwind
colors: {
  custom: {
    50: '#775487',
    500: '#3f1057',
    950: '#000000',
  },
}
SCSS
$custom: #3f1057;
$custom-light: #775487;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1057",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 87
  },
  "hsl": {
    "h": 279.718,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29225,
    "c": 0.12225,
    "h": 311.2
  },
  "luminance": 0.02115
}

Semantic roles & 50–950 ramp

primary
#3F1057
secondary
#529032
accent
#EC3C77
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F1057

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

Preview Lab → · Contrast checker → · Palette generator →

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