#3F116F#3F116F

#3F116F is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.147 H 299.7°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#3F116F
RGBrgb(63, 17, 111)
HSLhsl(269, 73%, 25%)
HSVhsv(269, 85%, 44%)
CMYKcmyk(43.2%, 84.7%, 0%, 56.5%)
CIE-LABlab(18.39, 40.60, -44.62)
CIE-LCHlch(18.39, 60.32, 312.30°)
OKLaboklab(31.51% 0.0728 -0.1277)
OKLCHoklch(31.51% 0.147 299.7)
XYZxyz(5.1189, 2.6053, 15.2690)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F116F #416F11
analogous
#11126F #3F116F #6E116F
triadic
#3F116F #6F3F11 #116F3F
tetradic
#3F116F #6F1112 #416F11 #116F6E
square
#3F116F #6F1112 #416F11 #116F6E
split-complementary
#3F116F #6F6E11 #126F11
monochromatic
#0F041B #21093A #3F116F #5D19A4 #7B21D9

Accessibility & contrast

On white

13.81
#3F116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3F116F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F116F
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F116F#FFFFFF#000000##FFFFFF
##3F116F1.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D72
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#332C41
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3f116f;
/* rgb */ color: rgb(63, 17, 111);
/* oklch */ color: oklch(31.5% 0.147 299.7);
Tailwind
colors: {
  custom: {
    50: '#7a5699',
    500: '#3f116f',
    950: '#000000',
  },
}
SCSS
$custom: #3f116f;
$custom-light: #7a5699;
$custom-dark: #000000;
JSON
{
  "hex": "#3f116f",
  "rgb": {
    "r": 63,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 269.362,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31509,
    "c": 0.14696,
    "h": 299.7
  },
  "luminance": 0.02605
}

Semantic roles & 50–950 ramp

primary
#3F116F
secondary
#6FA635
accent
#F03896
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3F116F

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

Preview Lab → · Contrast checker → · Palette generator →

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