#3F2D94#3F2D94

#3F2D94 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.160 H 284.0°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#3F2D94
RGBrgb(63, 45, 148)
HSLhsl(250, 53%, 38%)
HSVhsv(250, 70%, 58%)
CMYKcmyk(57.4%, 69.6%, 0%, 42%)
CIE-LABlab(26.94, 37.04, -53.98)
CIE-LCHlch(26.94, 65.47, 304.46°)
OKLaboklab(38.61% 0.0387 -0.1553)
OKLCHoklch(38.61% 0.16 284)
XYZxyz(8.3319, 5.0711, 28.5510)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2D94 #82942D
analogous
#2D4F94 #3F2D94 #722D94
triadic
#3F2D94 #943F2D #2D943F
tetradic
#3F2D94 #942D4F #82942D #2D9472
square
#3F2D94 #942D4F #82942D #2D9472
split-complementary
#3F2D94 #94722D #4F942D
monochromatic
#171036 #2B1F65 #3F2D94 #533BC3 #7C6AD2

Accessibility & contrast

On white

10.42
#3F2D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3F2D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2D94
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2D94#FFFFFF#000000##FFFFFF
##3F2D941.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#15485D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3f2d94;
/* rgb */ color: rgb(63, 45, 148);
/* oklch */ color: oklch(38.6% 0.160 284.0);
Tailwind
colors: {
  custom: {
    50: '#7d67b4',
    500: '#3f2d94',
    950: '#000000',
  },
}
SCSS
$custom: #3f2d94;
$custom-light: #7d67b4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2d94",
  "rgb": {
    "r": 63,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 250.485,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38609,
    "c": 0.16004,
    "h": 284
  },
  "luminance": 0.05072
}

Semantic roles & 50–950 ramp

primary
#3F2D94
secondary
#AAB864
accent
#DD4BC3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3F2D94

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

Preview Lab → · Contrast checker → · Palette generator →

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