#3F2E89#3F2E89

#3F2E89 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.8% C 0.144 H 285.8°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#3F2E89
RGBrgb(63, 46, 137)
HSLhsl(251, 50%, 36%)
HSVhsv(251, 66%, 54%)
CMYKcmyk(54%, 66.4%, 0%, 46.3%)
CIE-LABlab(26.21, 32.93, -48.37)
CIE-LCHlch(26.21, 58.51, 304.25°)
OKLaboklab(37.79% 0.0393 -0.1388)
OKLCHoklch(37.79% 0.144 285.8)
XYZxyz(7.5409, 4.8165, 24.1944)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2E89 #78892E
analogous
#2E4A89 #3F2E89 #6C2E89
triadic
#3F2E89 #893F2E #2E893F
tetradic
#3F2E89 #892E4A #78892E #2E896C
square
#3F2E89 #892E4A #78892E #2E896C
split-complementary
#3F2E89 #896C2E #4A892E
monochromatic
#150F2D #2A1F5B #3F2E89 #543DB7 #7966CC

Accessibility & contrast

On white

10.70
#3F2E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3F2E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2E89
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2E89#FFFFFF#000000##FFFFFF
##3F2E891.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#214457
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3f2e89;
/* rgb */ color: rgb(63, 46, 137);
/* oklch */ color: oklch(37.8% 0.144 285.8);
Tailwind
colors: {
  custom: {
    50: '#7b68ac',
    500: '#3f2e89',
    950: '#000000',
  },
}
SCSS
$custom: #3f2e89;
$custom-light: #7b68ac;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2e89",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 251.209,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37786,
    "c": 0.14425,
    "h": 285.8
  },
  "luminance": 0.04817
}

Semantic roles & 50–950 ramp

primary
#3F2E89
secondary
#A3B260
accent
#D94FBF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3F2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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