#3F1B70#3F1B70

#3F1B70 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.137 H 297.6°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#3F1B70
RGBrgb(63, 27, 112)
HSLhsl(265, 61%, 27%)
HSVhsv(265, 76%, 44%)
CMYKcmyk(43.7%, 75.9%, 0%, 56.1%)
CIE-LABlab(20.09, 36.27, -42.49)
CIE-LCHlch(20.09, 55.86, 310.48°)
OKLaboklab(32.73% 0.0634 -0.1215)
OKLCHoklch(32.73% 0.137 297.6)
XYZxyz(5.3657, 3.0104, 15.6245)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1B70 #4C701B
analogous
#1B2170 #3F1B70 #6A1B70
triadic
#3F1B70 #703F1B #1B703F
tetradic
#3F1B70 #701B21 #4C701B #1B706A
square
#3F1B70 #701B21 #4C701B #1B706A
split-complementary
#3F1B70 #706A1B #21701B
monochromatic
#0E0619 #230F3F #3F1B70 #5B27A1 #7737CF

Accessibility & contrast

On white

13.11
#3F1B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#3F1B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1B70
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1B70#FFFFFF#000000##FFFFFF
##3F1B701.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003172
Deuteranopia (green-blind)
#002F6E
Tritanopia (blue-blind)
#333144
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3f1b70;
/* rgb */ color: rgb(63, 27, 112);
/* oklch */ color: oklch(32.7% 0.137 297.6);
Tailwind
colors: {
  custom: {
    50: '#795b9a',
    500: '#3f1b70',
    950: '#000000',
  },
}
SCSS
$custom: #3f1b70;
$custom-light: #795b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1b70",
  "rgb": {
    "r": 63,
    "g": 27,
    "b": 112
  },
  "hsl": {
    "h": 265.412,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32727,
    "c": 0.13703,
    "h": 297.6
  },
  "luminance": 0.0301
}

Semantic roles & 50–950 ramp

primary
#3F1B70
secondary
#7BA542
accent
#E444A0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3F1B70

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

Preview Lab → · Contrast checker → · Palette generator →

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