#3F2D91#3F2D91

#3F2D91 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.3% C 0.156 H 284.5°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#3F2D91
RGBrgb(63, 45, 145)
HSLhsl(251, 53%, 37%)
HSVhsv(251, 69%, 57%)
CMYKcmyk(56.6%, 69%, 0%, 43.1%)
CIE-LABlab(26.67, 36.09, -52.57)
CIE-LCHlch(26.67, 63.76, 304.47°)
OKLaboklab(38.34% 0.0392 -0.1511)
OKLCHoklch(38.34% 0.156 284.5)
XYZxyz(8.0976, 4.9774, 27.3166)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2D91 #7F912D
analogous
#2D4D91 #3F2D91 #712D91
triadic
#3F2D91 #913F2D #2D913F
tetradic
#3F2D91 #912D4D #7F912D #2D9171
square
#3F2D91 #912D4D #7F912D #2D9171
split-complementary
#3F2D91 #91712D #4D912D
monochromatic
#161034 #2B1F62 #3F2D91 #533BC0 #7B68D0

Accessibility & contrast

On white

10.52
#3F2D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3F2D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2D91
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2D91#FFFFFF#000000##FFFFFF
##3F2D911.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#003C8F
Tritanopia (blue-blind)
#19475B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3f2d91;
/* rgb */ color: rgb(63, 45, 145);
/* oklch */ color: oklch(38.3% 0.156 284.5);
Tailwind
colors: {
  custom: {
    50: '#7d67b2',
    500: '#3f2d91',
    950: '#000000',
  },
}
SCSS
$custom: #3f2d91;
$custom-light: #7d67b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2d91",
  "rgb": {
    "r": 63,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 250.8,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38335,
    "c": 0.15614,
    "h": 284.5
  },
  "luminance": 0.04978
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F2D91

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

Preview Lab → · Contrast checker → · Palette generator →

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