#3F2D90#3F2D90

#3F2D90 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.155 H 284.7°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#3F2D90
RGBrgb(63, 45, 144)
HSLhsl(251, 52%, 37%)
HSVhsv(251, 69%, 56%)
CMYKcmyk(56.3%, 68.7%, 0%, 43.5%)
CIE-LABlab(26.58, 35.77, -52.10)
CIE-LCHlch(26.58, 63.19, 304.47°)
OKLaboklab(38.25% 0.0393 -0.1498)
OKLCHoklch(38.25% 0.155 284.7)
XYZxyz(8.0208, 4.9467, 26.9123)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2D90 #7E902D
analogous
#2D4D90 #3F2D90 #712D90
triadic
#3F2D90 #903F2D #2D903F
tetradic
#3F2D90 #902D4D #7E902D #2D9071
square
#3F2D90 #902D4D #7E902D #2D9071
split-complementary
#3F2D90 #90712D #4D902D
monochromatic
#161033 #2B1E61 #3F2D90 #533CBF #7B68D0

Accessibility & contrast

On white

10.56
#3F2D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3F2D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2D90
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2D90#FFFFFF#000000##FFFFFF
##3F2D901.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#1A465A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3f2d90;
/* rgb */ color: rgb(63, 45, 144);
/* oklch */ color: oklch(38.2% 0.155 284.7);
Tailwind
colors: {
  custom: {
    50: '#7d67b1',
    500: '#3f2d90',
    950: '#000000',
  },
}
SCSS
$custom: #3f2d90;
$custom-light: #7d67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2d90",
  "rgb": {
    "r": 63,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 250.909,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38245,
    "c": 0.15483,
    "h": 284.7
  },
  "luminance": 0.04947
}

Semantic roles & 50–950 ramp

primary
#3F2D90
secondary
#A7B662
accent
#DC4CC2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3F2D90

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

Preview Lab → · Contrast checker → · Palette generator →

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