#3F2D93#3F2D93

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

Color values

HEX#3F2D93
RGBrgb(63, 45, 147)
HSLhsl(251, 53%, 38%)
HSVhsv(251, 69%, 58%)
CMYKcmyk(57.1%, 69.4%, 0%, 42.4%)
CIE-LABlab(26.85, 36.72, -53.51)
CIE-LCHlch(26.85, 64.90, 304.46°)
OKLaboklab(38.52% 0.0389 -0.1539)
OKLCHoklch(38.52% 0.159 284.2)
XYZxyz(8.2531, 5.0396, 28.1360)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2D93 #81932D
analogous
#2D4E93 #3F2D93 #722D93
triadic
#3F2D93 #933F2D #2D933F
tetradic
#3F2D93 #932D4E #81932D #2D9372
square
#3F2D93 #932D4E #81932D #2D9372
split-complementary
#3F2D93 #93722D #4E932D
monochromatic
#171035 #2B1F64 #3F2D93 #533BC2 #7C69D1

Accessibility & contrast

On white

10.46
#3F2D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F2D93
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2D93#FFFFFF#000000##FFFFFF
##3F2D931.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#003C91
Tritanopia (blue-blind)
#16475C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3f2d93;
/* rgb */ color: rgb(63, 45, 147);
/* oklch */ color: oklch(38.5% 0.159 284.2);
Tailwind
colors: {
  custom: {
    50: '#7d67b4',
    500: '#3f2d93',
    950: '#000000',
  },
}
SCSS
$custom: #3f2d93;
$custom-light: #7d67b4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2d93",
  "rgb": {
    "r": 63,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 250.588,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38517,
    "c": 0.15874,
    "h": 284.2
  },
  "luminance": 0.0504
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F2D93

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

Preview Lab → · Contrast checker → · Palette generator →

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