#3F2C8F#3F2C8F

#3F2C8F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.155 H 285.1°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#3F2C8F
RGBrgb(63, 44, 143)
HSLhsl(252, 53%, 37%)
HSVhsv(252, 69%, 56%)
CMYKcmyk(55.9%, 69.2%, 0%, 43.9%)
CIE-LABlab(26.28, 36.04, -51.98)
CIE-LCHlch(26.28, 63.25, 304.74°)
OKLaboklab(38% 0.0404 -0.1494)
OKLCHoklch(38% 0.155 285.1)
XYZxyz(7.9070, 4.8409, 26.4990)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2C8F #7C8F2C
analogous
#2C4B8F #3F2C8F #712C8F
triadic
#3F2C8F #8F3F2C #2C8F3F
tetradic
#3F2C8F #8F2C4B #7C8F2C #2C8F71
square
#3F2C8F #8F2C4B #7C8F2C #2C8F71
split-complementary
#3F2C8F #8F712C #4B8F2C
monochromatic
#160F31 #2A1E60 #3F2C8F #543ABE #7A66D0

Accessibility & contrast

On white

10.67
#3F2C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3F2C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2C8F
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2C8F#FFFFFF#000000##FFFFFF
##3F2C8F1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#1C455A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3f2c8f;
/* rgb */ color: rgb(63, 44, 143);
/* oklch */ color: oklch(38.0% 0.155 285.1);
Tailwind
colors: {
  custom: {
    50: '#7d67b1',
    500: '#3f2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #3f2c8f;
$custom-light: #7d67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2c8f",
  "rgb": {
    "r": 63,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 251.515,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37997,
    "c": 0.15478,
    "h": 285.1
  },
  "luminance": 0.04841
}

Semantic roles & 50–950 ramp

primary
#3F2C8F
secondary
#A6B661
accent
#DC4BC1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3F2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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