#3F105B#3F105B

#3F105B is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.127 H 309.0°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#3F105B
RGBrgb(63, 16, 91)
HSLhsl(278, 70%, 21%)
HSVhsv(278, 82%, 36%)
CMYKcmyk(30.8%, 82.4%, 0%, 64.3%)
CIE-LABlab(16.42, 35.95, -34.64)
CIE-LCHlch(16.42, 49.92, 316.06°)
OKLaboklab(29.57% 0.0796 -0.0983)
OKLCHoklch(29.57% 0.127 309)
XYZxyz(4.1231, 2.1828, 10.0996)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F105B #2C5B10
analogous
#19105B #3F105B #5B1051
triadic
#3F105B #5B3F10 #105B3F
tetradic
#3F105B #5B1910 #2C5B10 #10515B
square
#3F105B #5B1910 #2C5B10 #10515B
split-complementary
#3F105B #515B10 #105B19
monochromatic
#12051A #1B0727 #3F105B #63198F #8722C3

Accessibility & contrast

On white

14.62
#3F105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F105B
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F105B#FFFFFF#000000##FFFFFF
##3F105B1.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275D
Deuteranopia (green-blind)
#002959
Tritanopia (blue-blind)
#3B2235
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3f105b;
/* rgb */ color: rgb(63, 16, 91);
/* oklch */ color: oklch(29.6% 0.127 309.0);
Tailwind
colors: {
  custom: {
    50: '#78548a',
    500: '#3f105b',
    950: '#000000',
  },
}
SCSS
$custom: #3f105b;
$custom-light: #78548a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f105b",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 277.6,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29567,
    "c": 0.1265,
    "h": 309
  },
  "luminance": 0.02183
}

Semantic roles & 50–950 ramp

primary
#3F105B
secondary
#579433
accent
#ED3B7D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F105B

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

Preview Lab → · Contrast checker → · Palette generator →

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