#3F1361#3F1361

#3F1361 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.130 H 305.5°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#3F1361
RGBrgb(63, 19, 97)
HSLhsl(274, 67%, 23%)
HSVhsv(274, 80%, 38%)
CMYKcmyk(35.1%, 80.4%, 0%, 62%)
CIE-LABlab(17.39, 36.14, -37.06)
CIE-LCHlch(17.39, 51.76, 314.28°)
OKLaboklab(30.42% 0.0752 -0.1055)
OKLCHoklch(30.42% 0.13 305.5)
XYZxyz(4.4400, 2.3856, 11.5335)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1361 #356113
analogous
#181361 #3F1361 #61135C
triadic
#3F1361 #613F13 #13613F
tetradic
#3F1361 #611813 #356113 #135C61
square
#3F1361 #611813 #356113 #135C61
split-complementary
#3F1361 #5C6113 #136118
monochromatic
#11051A #1E092E #3F1361 #601D94 #8127C7

Accessibility & contrast

On white

14.22
#3F1361 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1361
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1361#FFFFFF#000000##FFFFFF
##3F13611.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f1361;
/* rgb */ color: rgb(63, 19, 97);
/* oklch */ color: oklch(30.4% 0.130 305.5);
Tailwind
colors: {
  custom: {
    50: '#78568f',
    500: '#3f1361',
    950: '#000000',
  },
}
SCSS
$custom: #3f1361;
$custom-light: #78568f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1361",
  "rgb": {
    "r": 63,
    "g": 19,
    "b": 97
  },
  "hsl": {
    "h": 273.846,
    "s": 67.241,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30415,
    "c": 0.1295,
    "h": 305.5
  },
  "luminance": 0.02386
}

Semantic roles & 50–950 ramp

primary
#3F1361
secondary
#629937
accent
#EA3E89
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F1361

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

Preview Lab → · Contrast checker → · Palette generator →

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