#3F1B60#3F1B60

#3F1B60 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.3% C 0.118 H 304.3°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#3F1B60
RGBrgb(63, 27, 96)
HSLhsl(271, 56%, 24%)
HSVhsv(271, 72%, 38%)
CMYKcmyk(34.4%, 71.9%, 0%, 62.4%)
CIE-LABlab(18.74, 31.86, -34.21)
CIE-LCHlch(18.74, 46.75, 312.96°)
OKLaboklab(31.34% 0.0663 -0.0972)
OKLCHoklch(31.34% 0.118 304.3)
XYZxyz(4.5527, 2.6852, 11.3425)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1B60 #3C601B
analogous
#1C1B60 #3F1B60 #601B5F
triadic
#3F1B60 #603F1B #1B603F
tetradic
#3F1B60 #601C1B #3C601B #1B5F60
square
#3F1B60 #601C1B #3C601B #1B5F60
split-complementary
#3F1B60 #5F601B #1B601C
monochromatic
#100718 #200E30 #3F1B60 #5E2890 #7E36C0

Accessibility & contrast

On white

13.66
#3F1B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3F1B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1B60
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1B60#FFFFFF#000000##FFFFFF
##3F1B601.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D62
Deuteranopia (green-blind)
#032E5F
Tritanopia (blue-blind)
#392A3B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3f1b60;
/* rgb */ color: rgb(63, 27, 96);
/* oklch */ color: oklch(31.3% 0.118 304.3);
Tailwind
colors: {
  custom: {
    50: '#775a8e',
    500: '#3f1b60',
    950: '#000000',
  },
}
SCSS
$custom: #3f1b60;
$custom-light: #775a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1b60",
  "rgb": {
    "r": 63,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 271.304,
    "s": 56.098,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31343,
    "c": 0.11764,
    "h": 304.3
  },
  "luminance": 0.02685
}

Semantic roles & 50–950 ramp

primary
#3F1B60
secondary
#6A9641
accent
#DF4891
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3F1B60

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

Preview Lab → · Contrast checker → · Palette generator →

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