#3F1058#3F1058

#3F1058 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.123 H 310.6°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#3F1058
RGBrgb(63, 16, 88)
HSLhsl(279, 69%, 20%)
HSVhsv(279, 82%, 35%)
CMYKcmyk(28.4%, 81.8%, 0%, 65.5%)
CIE-LABlab(16.17, 35.22, -33.03)
CIE-LCHlch(16.17, 48.29, 316.83°)
OKLaboklab(29.31% 0.0803 -0.0936)
OKLCHoklch(29.31% 0.123 310.6)
XYZxyz(3.9963, 2.1320, 9.4316)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1058 #295810
analogous
#1B1058 #3F1058 #58104D
triadic
#3F1058 #583F10 #10583F
tetradic
#3F1058 #581B10 #295810 #104D58
square
#3F1058 #581B10 #295810 #104D58
split-complementary
#3F1058 #4D5810 #10581B
monochromatic
#13051A #1A0724 #3F1058 #64198C #8923C0

Accessibility & contrast

On white

14.72
#3F1058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#3F1058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1058
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1058#FFFFFF#000000##FFFFFF
##3F10581.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265A
Deuteranopia (green-blind)
#022957
Tritanopia (blue-blind)
#3C2133
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3f1058;
/* rgb */ color: rgb(63, 16, 88);
/* oklch */ color: oklch(29.3% 0.123 310.6);
Tailwind
colors: {
  custom: {
    50: '#775488',
    500: '#3f1058',
    950: '#000000',
  },
}
SCSS
$custom: #3f1058;
$custom-light: #775488;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1058",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 279.167,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29309,
    "c": 0.12331,
    "h": 310.6
  },
  "luminance": 0.02132
}

Semantic roles & 50–950 ramp

primary
#3F1058
secondary
#539132
accent
#EC3C79
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F1058

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

Preview Lab → · Contrast checker → · Palette generator →

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