#3F105F#3F105F

#3F105F is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.131 H 306.9°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#3F105F
RGBrgb(63, 16, 95)
HSLhsl(276, 71%, 22%)
HSVhsv(276, 83%, 37%)
CMYKcmyk(33.7%, 83.2%, 0%, 62.7%)
CIE-LABlab(16.77, 36.93, -36.75)
CIE-LCHlch(16.77, 52.10, 315.15°)
OKLaboklab(29.92% 0.0786 -0.1045)
OKLCHoklch(29.92% 0.131 306.9)
XYZxyz(4.3003, 2.2536, 11.0327)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F105F #305F10
analogous
#18105F #3F105F #5F1058
triadic
#3F105F #5F3F10 #105F3F
tetradic
#3F105F #5F1810 #305F10 #10585F
square
#3F105F #5F1810 #305F10 #10585F
split-complementary
#3F105F #585F10 #105F18
monochromatic
#11041A #1C072B #3F105F #621993 #8422C8

Accessibility & contrast

On white

14.47
#3F105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F105F
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F105F#FFFFFF#000000##FFFFFF
##3F105F1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002861
Deuteranopia (green-blind)
#002A5D
Tritanopia (blue-blind)
#392437
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3f105f;
/* rgb */ color: rgb(63, 16, 95);
/* oklch */ color: oklch(29.9% 0.131 306.9);
Tailwind
colors: {
  custom: {
    50: '#78548d',
    500: '#3f105f',
    950: '#000000',
  },
}
SCSS
$custom: #3f105f;
$custom-light: #78548d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f105f",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 275.696,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29919,
    "c": 0.13077,
    "h": 306.9
  },
  "luminance": 0.02254
}

Semantic roles & 50–950 ramp

primary
#3F105F
secondary
#5C9833
accent
#EE3A83
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F105F

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

Preview Lab → · Contrast checker → · Palette generator →

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