#3F115F#3F115F

#3F115F is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.130 H 306.8°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#3F115F
RGBrgb(63, 17, 95)
HSLhsl(275, 70%, 22%)
HSVhsv(275, 82%, 37%)
CMYKcmyk(33.7%, 82.1%, 0%, 62.7%)
CIE-LABlab(16.91, 36.51, -36.51)
CIE-LCHlch(16.91, 51.64, 315.00°)
OKLaboklab(30.02% 0.0776 -0.1038)
OKLCHoklch(30.02% 0.13 306.8)
XYZxyz(4.3155, 2.2839, 11.0378)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F115F #315F11
analogous
#18115F #3F115F #5F1158
triadic
#3F115F #5F3F11 #115F3F
tetradic
#3F115F #5F1811 #315F11 #11585F
square
#3F115F #5F1811 #315F11 #11585F
split-complementary
#3F115F #585F11 #115F18
monochromatic
#11051A #1D082B #3F115F #611A93 #8424C7

Accessibility & contrast

On white

14.42
#3F115F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3F115F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F115F
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F115F#FFFFFF#000000##FFFFFF
##3F115F1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002861
Deuteranopia (green-blind)
#002A5D
Tritanopia (blue-blind)
#392538
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3f115f;
/* rgb */ color: rgb(63, 17, 95);
/* oklch */ color: oklch(30.0% 0.130 306.8);
Tailwind
colors: {
  custom: {
    50: '#78558d',
    500: '#3f115f',
    950: '#000000',
  },
}
SCSS
$custom: #3f115f;
$custom-light: #78558d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f115f",
  "rgb": {
    "r": 63,
    "g": 17,
    "b": 95
  },
  "hsl": {
    "h": 275.385,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30022,
    "c": 0.12965,
    "h": 306.8
  },
  "luminance": 0.02284
}

Semantic roles & 50–950 ramp

primary
#3F115F
secondary
#5D9834
accent
#EC3B84
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F115F

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

Preview Lab → · Contrast checker → · Palette generator →

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