#3F2C95#3F2C95

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

Color values

HEX#3F2C95
RGBrgb(63, 44, 149)
HSLhsl(251, 54%, 38%)
HSVhsv(251, 70%, 58%)
CMYKcmyk(57.7%, 70.5%, 0%, 41.6%)
CIE-LABlab(26.81, 37.94, -54.80)
CIE-LCHlch(26.81, 66.65, 304.70°)
OKLaboklab(38.55% 0.0394 -0.1577)
OKLCHoklch(38.55% 0.163 284)
XYZxyz(8.3737, 5.0275, 28.9571)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2C95 #82952C
analogous
#2C4E95 #3F2C95 #732C95
triadic
#3F2C95 #953F2C #2C953F
tetradic
#3F2C95 #952C4E #82952C #2C9573
square
#3F2C95 #952C4E #82952C #2C9573
split-complementary
#3F2C95 #95732C #4E952C
monochromatic
#171037 #2B1E66 #3F2C95 #533AC4 #7C69D3

Accessibility & contrast

On white

10.47
#3F2C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F2C95
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2C95#FFFFFF#000000##FFFFFF
##3F2C951.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#13485D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3f2c95;
/* rgb */ color: rgb(63, 44, 149);
/* oklch */ color: oklch(38.5% 0.163 284.0);
Tailwind
colors: {
  custom: {
    50: '#7e67b5',
    500: '#3f2c95',
    950: '#000000',
  },
}
SCSS
$custom: #3f2c95;
$custom-light: #7e67b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2c95",
  "rgb": {
    "r": 63,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 250.857,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38548,
    "c": 0.16254,
    "h": 284
  },
  "luminance": 0.05028
}

Semantic roles & 50–950 ramp

primary
#3F2C95
secondary
#AAB964
accent
#DE4AC3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3F2C95

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

Preview Lab → · Contrast checker → · Palette generator →

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