#3F2B95#3F2B95

#3F2B95 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.4% C 0.164 H 284.2°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#3F2B95
RGBrgb(63, 43, 149)
HSLhsl(251, 55%, 38%)
HSVhsv(251, 71%, 58%)
CMYKcmyk(57.7%, 71.1%, 0%, 41.6%)
CIE-LABlab(26.60, 38.52, -55.14)
CIE-LCHlch(26.60, 67.27, 304.94°)
OKLaboklab(38.4% 0.0403 -0.1587)
OKLCHoklch(38.4% 0.164 284.2)
XYZxyz(8.3369, 4.9539, 28.9448)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2B95 #81952B
analogous
#2B4C95 #3F2B95 #742B95
triadic
#3F2B95 #953F2B #2B953F
tetradic
#3F2B95 #952B4C #81952B #2B9574
square
#3F2B95 #952B4C #81952B #2B9574
split-complementary
#3F2B95 #95742B #4C952B
monochromatic
#171036 #2B1D66 #3F2B95 #5339C4 #7C67D3

Accessibility & contrast

On white

10.55
#3F2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F2B95
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2B95#FFFFFF#000000##FFFFFF
##3F2B951.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#14475D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3f2b95;
/* rgb */ color: rgb(63, 43, 149);
/* oklch */ color: oklch(38.4% 0.164 284.2);
Tailwind
colors: {
  custom: {
    50: '#7e66b5',
    500: '#3f2b95',
    950: '#000000',
  },
}
SCSS
$custom: #3f2b95;
$custom-light: #7e66b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2b95",
  "rgb": {
    "r": 63,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 251.321,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38398,
    "c": 0.16372,
    "h": 284.2
  },
  "luminance": 0.04954
}

Semantic roles & 50–950 ramp

primary
#3F2B95
secondary
#A9BA62
accent
#DF49C2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3F2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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