#3F1261#3F1261

#3F1261 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.131 H 305.6°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#3F1261
RGBrgb(63, 18, 97)
HSLhsl(274, 69%, 23%)
HSVhsv(274, 81%, 38%)
CMYKcmyk(35.1%, 81.4%, 0%, 62%)
CIE-LABlab(17.24, 36.58, -37.31)
CIE-LCHlch(17.24, 52.25, 314.44°)
OKLaboklab(30.31% 0.0762 -0.1062)
OKLCHoklch(30.31% 0.131 305.6)
XYZxyz(4.4234, 2.3525, 11.5280)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1261 #346112
analogous
#171261 #3F1261 #61125C
triadic
#3F1261 #613F12 #12613F
tetradic
#3F1261 #611712 #346112 #125C61
square
#3F1261 #611712 #346112 #125C61
split-complementary
#3F1261 #5C6112 #126117
monochromatic
#11051A #1D082D #3F1261 #611C95 #8225C8

Accessibility & contrast

On white

14.28
#3F1261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3F1261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1261
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1261#FFFFFF#000000##FFFFFF
##3F12611.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f1261;
/* rgb */ color: rgb(63, 18, 97);
/* oklch */ color: oklch(30.3% 0.131 305.6);
Tailwind
colors: {
  custom: {
    50: '#78558f',
    500: '#3f1261',
    950: '#000000',
  },
}
SCSS
$custom: #3f1261;
$custom-light: #78558f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1261",
  "rgb": {
    "r": 63,
    "g": 18,
    "b": 97
  },
  "hsl": {
    "h": 274.177,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30306,
    "c": 0.13067,
    "h": 305.6
  },
  "luminance": 0.02352
}

Semantic roles & 50–950 ramp

primary
#3F1261
secondary
#609936
accent
#EC3C88
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F1261

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

Preview Lab → · Contrast checker → · Palette generator →

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