#3F1160#3F1160

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

Color values

HEX#3F1160
RGBrgb(63, 17, 96)
HSLhsl(275, 70%, 22%)
HSVhsv(275, 82%, 38%)
CMYKcmyk(34.4%, 82.3%, 0%, 62.4%)
CIE-LABlab(17.00, 36.76, -37.03)
CIE-LCHlch(17.00, 52.18, 314.79°)
OKLaboklab(30.11% 0.0774 -0.1054)
OKLCHoklch(30.11% 0.131 306.3)
XYZxyz(4.3612, 2.3022, 11.2787)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1160 #326011
analogous
#181160 #3F1160 #60115A
triadic
#3F1160 #603F11 #11603F
tetradic
#3F1160 #601811 #326011 #115A60
square
#3F1160 #601811 #326011 #115A60
split-complementary
#3F1160 #5A6011 #116018
monochromatic
#11051A #1D082C #3F1160 #611A94 #8323C8

Accessibility & contrast

On white

14.38
#3F1160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1160
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1160#FFFFFF#000000##FFFFFF
##3F11601.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f1160;
/* rgb */ color: rgb(63, 17, 96);
/* oklch */ color: oklch(30.1% 0.131 306.3);
Tailwind
colors: {
  custom: {
    50: '#78558e',
    500: '#3f1160',
    950: '#000000',
  },
}
SCSS
$custom: #3f1160;
$custom-light: #78558e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1160",
  "rgb": {
    "r": 63,
    "g": 17,
    "b": 96
  },
  "hsl": {
    "h": 274.937,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.30111,
    "c": 0.13073,
    "h": 306.3
  },
  "luminance": 0.02302
}

Semantic roles & 50–950 ramp

primary
#3F1160
secondary
#5E9934
accent
#ED3B85
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F1160

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

Preview Lab → · Contrast checker → · Palette generator →

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