#3F1D85#3F1D85

#3F1D85 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.160 H 290.5°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#3F1D85
RGBrgb(63, 29, 133)
HSLhsl(260, 64%, 32%)
HSVhsv(260, 78%, 52%)
CMYKcmyk(52.6%, 78.2%, 0%, 47.8%)
CIE-LABlab(22.40, 41.23, -52.08)
CIE-LCHlch(22.40, 66.43, 308.37°)
OKLaboklab(34.96% 0.056 -0.1496)
OKLCHoklch(34.96% 0.16 290.5)
XYZxyz(6.7217, 3.6287, 22.5320)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1D85 #63851D
analogous
#1D2F85 #3F1D85 #731D85
triadic
#3F1D85 #853F1D #1D853F
tetradic
#3F1D85 #851D2F #63851D #1D8573
square
#3F1D85 #851D2F #63851D #1D8573
split-complementary
#3F1D85 #85731D #2F851D
monochromatic
#0F0721 #271253 #3F1D85 #5728B7 #7546D7

Accessibility & contrast

On white

12.17
#3F1D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3F1D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1D85
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1D85#FFFFFF#000000##FFFFFF
##3F1D851.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#003383
Tritanopia (blue-blind)
#263A50
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3f1d85;
/* rgb */ color: rgb(63, 29, 133);
/* oklch */ color: oklch(35.0% 0.160 290.5);
Tailwind
colors: {
  custom: {
    50: '#7c5da9',
    500: '#3f1d85',
    950: '#000000',
  },
}
SCSS
$custom: #3f1d85;
$custom-light: #7c5da9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1d85",
  "rgb": {
    "r": 63,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 259.615,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34963,
    "c": 0.15979,
    "h": 290.5
  },
  "luminance": 0.03629
}

Semantic roles & 50–950 ramp

primary
#3F1D85
secondary
#93B846
accent
#E741B1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3F1D85

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

Preview Lab → · Contrast checker → · Palette generator →

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