#3F115E#3F115E

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

Color values

HEX#3F115E
RGBrgb(63, 17, 94)
HSLhsl(276, 69%, 22%)
HSVhsv(276, 82%, 37%)
CMYKcmyk(33%, 81.9%, 0%, 63.1%)
CIE-LABlab(16.82, 36.26, -35.98)
CIE-LCHlch(16.82, 51.09, 315.22°)
OKLaboklab(29.93% 0.0779 -0.1023)
OKLCHoklch(29.93% 0.129 307.3)
XYZxyz(4.2703, 2.2659, 10.7999)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F115E #305E11
analogous
#19115E #3F115E #5E1157
triadic
#3F115E #5E3F11 #115E3F
tetradic
#3F115E #5E1911 #305E11 #11575E
square
#3F115E #5E1911 #305E11 #11575E
split-complementary
#3F115E #575E11 #115E19
monochromatic
#11051A #1C082A #3F115E #621A92 #8424C6

Accessibility & contrast

On white

14.45
#3F115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F115E
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F115E#FFFFFF#000000##FFFFFF
##3F115E1.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.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: #3f115e;
/* rgb */ color: rgb(63, 17, 94);
/* oklch */ color: oklch(29.9% 0.129 307.3);
Tailwind
colors: {
  custom: {
    50: '#78558c',
    500: '#3f115e',
    950: '#000000',
  },
}
SCSS
$custom: #3f115e;
$custom-light: #78558c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f115e",
  "rgb": {
    "r": 63,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 275.844,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29934,
    "c": 0.12856,
    "h": 307.3
  },
  "luminance": 0.02266
}

Semantic roles & 50–950 ramp

primary
#3F115E
secondary
#5C9734
accent
#EC3C83
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F115E

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

Preview Lab → · Contrast checker → · Palette generator →

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