#3F105D#3F105D

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

Color values

HEX#3F105D
RGBrgb(63, 16, 93)
HSLhsl(277, 71%, 21%)
HSVhsv(277, 83%, 36%)
CMYKcmyk(32.3%, 82.8%, 0%, 63.5%)
CIE-LABlab(16.59, 36.44, -35.70)
CIE-LCHlch(16.59, 51.01, 315.59°)
OKLaboklab(29.74% 0.0791 -0.1014)
OKLCHoklch(29.74% 0.129 307.9)
XYZxyz(4.2106, 2.2177, 10.5601)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F105D #2E5D10
analogous
#19105D #3F105D #5D1055
triadic
#3F105D #5D3F10 #105D3F
tetradic
#3F105D #5D1910 #2E5D10 #10555D
square
#3F105D #5D1910 #2E5D10 #10555D
split-complementary
#3F105D #555D10 #105D19
monochromatic
#12041A #1C0729 #3F105D #621991 #8622C5

Accessibility & contrast

On white

14.55
#3F105D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F105D
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F105D#FFFFFF#000000##FFFFFF
##3F105D1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f105d;
/* rgb */ color: rgb(63, 16, 93);
/* oklch */ color: oklch(29.7% 0.129 307.9);
Tailwind
colors: {
  custom: {
    50: '#78548b',
    500: '#3f105d',
    950: '#000000',
  },
}
SCSS
$custom: #3f105d;
$custom-light: #78548b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f105d",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 93
  },
  "hsl": {
    "h": 276.623,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29742,
    "c": 0.12863,
    "h": 307.9
  },
  "luminance": 0.02218
}

Semantic roles & 50–950 ramp

primary
#3F105D
secondary
#599633
accent
#ED3A80
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F105D

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

Preview Lab → · Contrast checker → · Palette generator →

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