#3F2D83#3F2D83

#3F2D83 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.1% C 0.138 H 287.3°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#3F2D83
RGBrgb(63, 45, 131)
HSLhsl(253, 49%, 35%)
HSVhsv(253, 66%, 51%)
CMYKcmyk(51.9%, 65.6%, 0%, 48.6%)
CIE-LABlab(25.48, 31.63, -45.80)
CIE-LCHlch(25.48, 55.66, 304.63°)
OKLaboklab(37.1% 0.041 -0.1313)
OKLCHoklch(37.1% 0.138 287.3)
XYZxyz(7.0838, 4.5719, 21.9775)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2D83 #71832D
analogous
#2D4683 #3F2D83 #6A2D83
triadic
#3F2D83 #833F2D #2D833F
tetradic
#3F2D83 #832D46 #71832D #2D836A
square
#3F2D83 #832D46 #71832D #2D836A
split-complementary
#3F2D83 #836A2D #46832D
monochromatic
#130E28 #291D55 #3F2D83 #553DB1 #7762C9

Accessibility & contrast

On white

10.97
#3F2D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3F2D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2D83
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2D83#FFFFFF#000000##FFFFFF
##3F2D831.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003A81
Tritanopia (blue-blind)
#264253
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3f2d83;
/* rgb */ color: rgb(63, 45, 131);
/* oklch */ color: oklch(37.1% 0.138 287.3);
Tailwind
colors: {
  custom: {
    50: '#7b67a8',
    500: '#3f2d83',
    950: '#000000',
  },
}
SCSS
$custom: #3f2d83;
$custom-light: #7b67a8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2d83",
  "rgb": {
    "r": 63,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 252.558,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37103,
    "c": 0.13751,
    "h": 287.3
  },
  "luminance": 0.04572
}

Semantic roles & 50–950 ramp

primary
#3F2D83
secondary
#9EAF5C
accent
#D84FBC
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3F2D83

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

Preview Lab → · Contrast checker → · Palette generator →

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