#3F1B85#3F1B85

#3F1B85 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.162 H 290.9°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#3F1B85
RGBrgb(63, 27, 133)
HSLhsl(260, 66%, 31%)
HSVhsv(260, 80%, 52%)
CMYKcmyk(52.6%, 79.7%, 0%, 47.8%)
CIE-LABlab(22.07, 42.20, -52.64)
CIE-LCHlch(22.07, 67.47, 308.72°)
OKLaboklab(34.73% 0.0577 -0.1512)
OKLCHoklch(34.73% 0.162 290.9)
XYZxyz(6.6743, 3.5338, 22.5162)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1B85 #61851B
analogous
#1B2C85 #3F1B85 #741B85
triadic
#3F1B85 #853F1B #1B853F
tetradic
#3F1B85 #851B2C #61851B #1B8574
square
#3F1B85 #851B2C #61851B #1B8574
split-complementary
#3F1B85 #85741B #2C851B
monochromatic
#0F061F #271152 #3F1B85 #5725B8 #7542D9

Accessibility & contrast

On white

12.30
#3F1B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#3F1B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1B85
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1B85#FFFFFF#000000##FFFFFF
##3F1B851.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#003283
Tritanopia (blue-blind)
#26394F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3f1b85;
/* rgb */ color: rgb(63, 27, 133);
/* oklch */ color: oklch(34.7% 0.162 290.9);
Tailwind
colors: {
  custom: {
    50: '#7c5caa',
    500: '#3f1b85',
    950: '#000000',
  },
}
SCSS
$custom: #3f1b85;
$custom-light: #7c5caa;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1b85",
  "rgb": {
    "r": 63,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 260.377,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34727,
    "c": 0.16186,
    "h": 290.9
  },
  "luminance": 0.03534
}

Semantic roles & 50–950 ramp

primary
#3F1B85
secondary
#91B844
accent
#E93FAF
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3F1B85

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

Preview Lab → · Contrast checker → · Palette generator →

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