#3F105C#3F105C

#3F105C is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.128 H 308.5°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#3F105C
RGBrgb(63, 16, 92)
HSLhsl(277, 70%, 21%)
HSVhsv(277, 83%, 36%)
CMYKcmyk(31.5%, 82.6%, 0%, 63.9%)
CIE-LABlab(16.50, 36.20, -35.17)
CIE-LCHlch(16.50, 50.47, 315.82°)
OKLaboklab(29.65% 0.0794 -0.0999)
OKLCHoklch(29.65% 0.128 308.5)
XYZxyz(4.1666, 2.2001, 10.3283)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F105C #2D5C10
analogous
#19105C #3F105C #5C1053
triadic
#3F105C #5C3F10 #105C3F
tetradic
#3F105C #5C1910 #2D5C10 #10535C
square
#3F105C #5C1910 #2D5C10 #10535C
split-complementary
#3F105C #535C10 #105C19
monochromatic
#12051A #1B0728 #3F105C #631990 #8622C4

Accessibility & contrast

On white

14.58
#3F105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F105C
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F105C#FFFFFF#000000##FFFFFF
##3F105C1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275E
Deuteranopia (green-blind)
#00295A
Tritanopia (blue-blind)
#3A2336
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3f105c;
/* rgb */ color: rgb(63, 16, 92);
/* oklch */ color: oklch(29.7% 0.128 308.5);
Tailwind
colors: {
  custom: {
    50: '#78548b',
    500: '#3f105c',
    950: '#000000',
  },
}
SCSS
$custom: #3f105c;
$custom-light: #78548b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f105c",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 277.105,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29654,
    "c": 0.12757,
    "h": 308.5
  },
  "luminance": 0.022
}

Semantic roles & 50–950 ramp

primary
#3F105C
secondary
#589533
accent
#ED3B7F
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F105C

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

Preview Lab → · Contrast checker → · Palette generator →

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