#3F2D85#3F2D85

#3F2D85 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.3% C 0.140 H 286.9°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#3F2D85
RGBrgb(63, 45, 133)
HSLhsl(252, 49%, 35%)
HSVhsv(252, 66%, 52%)
CMYKcmyk(52.6%, 66.2%, 0%, 47.8%)
CIE-LABlab(25.64, 32.27, -46.79)
CIE-LCHlch(25.64, 56.84, 304.59°)
OKLaboklab(37.27% 0.0407 -0.1342)
OKLCHoklch(37.27% 0.14 286.9)
XYZxyz(7.2207, 4.6266, 22.6983)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2D85 #73852D
analogous
#2D4785 #3F2D85 #6B2D85
triadic
#3F2D85 #853F2D #2D853F
tetradic
#3F2D85 #852D47 #73852D #2D856B
square
#3F2D85 #852D47 #73852D #2D856B
split-complementary
#3F2D85 #856B2D #47852D
monochromatic
#140E2A #291E57 #3F2D85 #553CB3 #7862CA

Accessibility & contrast

On white

10.91
#3F2D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3F2D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2D85
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2D85#FFFFFF#000000##FFFFFF
##3F2D851.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#254254
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3f2d85;
/* rgb */ color: rgb(63, 45, 133);
/* oklch */ color: oklch(37.3% 0.140 286.9);
Tailwind
colors: {
  custom: {
    50: '#7b67a9',
    500: '#3f2d85',
    950: '#000000',
  },
}
SCSS
$custom: #3f2d85;
$custom-light: #7b67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2d85",
  "rgb": {
    "r": 63,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 252.273,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37274,
    "c": 0.14022,
    "h": 286.9
  },
  "luminance": 0.04627
}

Semantic roles & 50–950 ramp

primary
#3F2D85
secondary
#9FB05D
accent
#D94FBD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3F2D85

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

Preview Lab → · Contrast checker → · Palette generator →

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