#3F105E#3F105E

#3F105E is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.130 H 307.4°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#3F105E
RGBrgb(63, 16, 94)
HSLhsl(276, 71%, 22%)
HSVhsv(276, 83%, 37%)
CMYKcmyk(33%, 83%, 0%, 63.1%)
CIE-LABlab(16.68, 36.69, -36.22)
CIE-LCHlch(16.68, 51.56, 315.36°)
OKLaboklab(29.83% 0.0789 -0.103)
OKLCHoklch(29.83% 0.13 307.4)
XYZxyz(4.2551, 2.2356, 10.7948)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F105E #2F5E10
analogous
#18105E #3F105E #5E1056
triadic
#3F105E #5E3F10 #105E3F
tetradic
#3F105E #5E1810 #2F5E10 #10565E
square
#3F105E #5E1810 #2F5E10 #10565E
split-complementary
#3F105E #565E10 #105E18
monochromatic
#12041A #1C072A #3F105E #621992 #8522C7

Accessibility & contrast

On white

14.51
#3F105E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3F105E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F105E
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F105E#FFFFFF#000000##FFFFFF
##3F105E1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002860
Deuteranopia (green-blind)
#002A5C
Tritanopia (blue-blind)
#3A2437
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3f105e;
/* rgb */ color: rgb(63, 16, 94);
/* oklch */ color: oklch(29.8% 0.130 307.4);
Tailwind
colors: {
  custom: {
    50: '#78548c',
    500: '#3f105e',
    950: '#000000',
  },
}
SCSS
$custom: #3f105e;
$custom-light: #78548c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f105e",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 94
  },
  "hsl": {
    "h": 276.154,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.2983,
    "c": 0.12971,
    "h": 307.4
  },
  "luminance": 0.02235
}

Semantic roles & 50–950 ramp

primary
#3F105E
secondary
#5B9733
accent
#EE3A81
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F105E

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

Preview Lab → · Contrast checker → · Palette generator →

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