#3F1455#3F1455

#3F1455 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.5% C 0.115 H 311.7°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#3F1455
RGBrgb(63, 20, 85)
HSLhsl(280, 62%, 21%)
HSVhsv(280, 76%, 33%)
CMYKcmyk(25.9%, 76.5%, 0%, 66.7%)
CIE-LABlab(16.57, 32.66, -30.36)
CIE-LCHlch(16.57, 44.59, 317.09°)
OKLaboklab(29.52% 0.0764 -0.0858)
OKLCHoklch(29.52% 0.115 311.7)
XYZxyz(3.9394, 2.2131, 8.8122)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1455 #2A5514
analogous
#1E1455 #3F1455 #55144A
triadic
#3F1455 #553F14 #14553F
tetradic
#3F1455 #551E14 #2A5514 #144A55
square
#3F1455 #551E14 #2A5514 #144A55
split-complementary
#3F1455 #4A5514 #14551E
monochromatic
#120619 #1A0823 #3F1455 #642087 #882BB8

Accessibility & contrast

On white

14.56
#3F1455 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3F1455 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1455
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1455#FFFFFF#000000##FFFFFF
##3F14551.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002757
Deuteranopia (green-blind)
#0C2A54
Tritanopia (blue-blind)
#3C2233
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3f1455;
/* rgb */ color: rgb(63, 20, 85);
/* oklch */ color: oklch(29.5% 0.115 311.7);
Tailwind
colors: {
  custom: {
    50: '#775685',
    500: '#3f1455',
    950: '#000000',
  },
}
SCSS
$custom: #3f1455;
$custom-light: #775685;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1455",
  "rgb": {
    "r": 63,
    "g": 20,
    "b": 85
  },
  "hsl": {
    "h": 279.692,
    "s": 61.905,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29518,
    "c": 0.11485,
    "h": 311.7
  },
  "luminance": 0.02213
}

Semantic roles & 50–950 ramp

primary
#3F1455
secondary
#558D38
accent
#E5437A
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F1455

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

Preview Lab → · Contrast checker → · Palette generator →

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