#3F1461#3F1461

#3F1461 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.128 H 305.3°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#3F1461
RGBrgb(63, 20, 97)
HSLhsl(274, 66%, 23%)
HSVhsv(274, 79%, 38%)
CMYKcmyk(35.1%, 79.4%, 0%, 62%)
CIE-LABlab(17.55, 35.68, -36.79)
CIE-LCHlch(17.55, 51.25, 314.12°)
OKLaboklab(30.53% 0.0741 -0.1047)
OKLCHoklch(30.53% 0.128 305.3)
XYZxyz(4.4572, 2.4202, 11.5393)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1461 #366114
analogous
#181461 #3F1461 #61145C
triadic
#3F1461 #613F14 #14613F
tetradic
#3F1461 #611814 #366114 #145C61
square
#3F1461 #611814 #366114 #145C61
split-complementary
#3F1461 #5C6114 #146118
monochromatic
#100519 #1E0A2E #3F1461 #601E94 #8129C6

Accessibility & contrast

On white

14.15
#3F1461 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3F1461 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1461
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1461#FFFFFF#000000##FFFFFF
##3F14611.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A63
Deuteranopia (green-blind)
#002B5F
Tritanopia (blue-blind)
#392739
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3f1461;
/* rgb */ color: rgb(63, 20, 97);
/* oklch */ color: oklch(30.5% 0.128 305.3);
Tailwind
colors: {
  custom: {
    50: '#78568f',
    500: '#3f1461',
    950: '#000000',
  },
}
SCSS
$custom: #3f1461;
$custom-light: #78568f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1461",
  "rgb": {
    "r": 63,
    "g": 20,
    "b": 97
  },
  "hsl": {
    "h": 273.506,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30528,
    "c": 0.12829,
    "h": 305.3
  },
  "luminance": 0.0242
}

Semantic roles & 50–950 ramp

primary
#3F1461
secondary
#639838
accent
#E93F8A
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F1461

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

Preview Lab → · Contrast checker → · Palette generator →

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