#3F1059#3F1059

#3F1059 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.4% C 0.124 H 310.1°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#3F1059
RGBrgb(63, 16, 89)
HSLhsl(279, 70%, 21%)
HSVhsv(279, 82%, 35%)
CMYKcmyk(29.2%, 82%, 0%, 65.1%)
CIE-LABlab(16.25, 35.46, -33.57)
CIE-LCHlch(16.25, 48.83, 316.57°)
OKLaboklab(29.4% 0.08 -0.0952)
OKLCHoklch(29.4% 0.124 310.1)
XYZxyz(4.0380, 2.1487, 9.6513)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1059 #2A5910
analogous
#1A1059 #3F1059 #59104E
triadic
#3F1059 #593F10 #10593F
tetradic
#3F1059 #591A10 #2A5910 #104E59
square
#3F1059 #591A10 #2A5910 #104E59
split-complementary
#3F1059 #4E5910 #10591A
monochromatic
#12051A #1A0725 #3F1059 #64198D #8823C1

Accessibility & contrast

On white

14.69
#3F1059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1059
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1059#FFFFFF#000000##FFFFFF
##3F10591.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265B
Deuteranopia (green-blind)
#002957
Tritanopia (blue-blind)
#3B2234
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3f1059;
/* rgb */ color: rgb(63, 16, 89);
/* oklch */ color: oklch(29.4% 0.124 310.1);
Tailwind
colors: {
  custom: {
    50: '#775488',
    500: '#3f1059',
    950: '#000000',
  },
}
SCSS
$custom: #3f1059;
$custom-light: #775488;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1059",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 89
  },
  "hsl": {
    "h": 278.63,
    "s": 69.524,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29395,
    "c": 0.12437,
    "h": 310.1
  },
  "luminance": 0.02149
}

Semantic roles & 50–950 ramp

primary
#3F1059
secondary
#559233
accent
#EC3B7A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F1059

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

Preview Lab → · Contrast checker → · Palette generator →

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