#3F115D#3F115D

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

Color values

HEX#3F115D
RGBrgb(63, 17, 93)
HSLhsl(276, 69%, 22%)
HSVhsv(276, 82%, 36%)
CMYKcmyk(32.3%, 81.7%, 0%, 63.5%)
CIE-LABlab(16.74, 36.02, -35.46)
CIE-LCHlch(16.74, 50.54, 315.45°)
OKLaboklab(29.85% 0.0781 -0.1007)
OKLCHoklch(29.85% 0.127 307.8)
XYZxyz(4.2257, 2.2480, 10.5651)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F115D #2F5D11
analogous
#19115D #3F115D #5D1155
triadic
#3F115D #5D3F11 #115D3F
tetradic
#3F115D #5D1911 #2F5D11 #11555D
square
#3F115D #5D1911 #2F5D11 #11555D
split-complementary
#3F115D #555D11 #115D19
monochromatic
#12051A #1C0829 #3F115D #621A91 #8524C4

Accessibility & contrast

On white

14.49
#3F115D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F115D
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F115D#FFFFFF#000000##FFFFFF
##3F115D1.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285F
Deuteranopia (green-blind)
#002A5B
Tritanopia (blue-blind)
#3A2436
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3f115d;
/* rgb */ color: rgb(63, 17, 93);
/* oklch */ color: oklch(29.8% 0.127 307.8);
Tailwind
colors: {
  custom: {
    50: '#78558b',
    500: '#3f115d',
    950: '#000000',
  },
}
SCSS
$custom: #3f115d;
$custom-light: #78558b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f115d",
  "rgb": {
    "r": 63,
    "g": 17,
    "b": 93
  },
  "hsl": {
    "h": 276.316,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29846,
    "c": 0.12748,
    "h": 307.8
  },
  "luminance": 0.02248
}

Semantic roles & 50–950 ramp

primary
#3F115D
secondary
#5B9634
accent
#EC3C81
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F115D

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

Preview Lab → · Contrast checker → · Palette generator →

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