#3F2E83#3F2E83

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

Color values

HEX#3F2E83
RGBrgb(63, 46, 131)
HSLhsl(252, 48%, 35%)
HSVhsv(252, 65%, 51%)
CMYKcmyk(51.9%, 64.9%, 0%, 48.6%)
CIE-LABlab(25.71, 31.01, -45.43)
CIE-LCHlch(25.71, 55.00, 304.32°)
OKLaboklab(37.27% 0.0398 -0.1302)
OKLCHoklch(37.27% 0.136 287)
XYZxyz(7.1224, 4.6491, 21.9904)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2E83 #72832E
analogous
#2E4883 #3F2E83 #6A2E83
triadic
#3F2E83 #833F2E #2E833F
tetradic
#3F2E83 #832E48 #72832E #2E836A
square
#3F2E83 #832E48 #72832E #2E836A
split-complementary
#3F2E83 #836A2E #48832E
monochromatic
#130E28 #291E56 #3F2E83 #553EB0 #7763C8

Accessibility & contrast

On white

10.88
#3F2E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F2E83
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2E83#FFFFFF#000000##FFFFFF
##3F2E831.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#264254
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3f2e83;
/* rgb */ color: rgb(63, 46, 131);
/* oklch */ color: oklch(37.3% 0.136 287.0);
Tailwind
colors: {
  custom: {
    50: '#7a68a8',
    500: '#3f2e83',
    950: '#000000',
  },
}
SCSS
$custom: #3f2e83;
$custom-light: #7a68a8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2e83",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 252,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37272,
    "c": 0.13612,
    "h": 287
  },
  "luminance": 0.04649
}

Semantic roles & 50–950 ramp

primary
#3F2E83
secondary
#9FAF5E
accent
#D850BD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3F2E83

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

Preview Lab → · Contrast checker → · Palette generator →

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