#3F2B9C#3F2B9C

#3F2B9C is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.1% C 0.173 H 283.0°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#3F2B9C
RGBrgb(63, 43, 156)
HSLhsl(251, 57%, 39%)
HSVhsv(251, 72%, 61%)
CMYKcmyk(59.6%, 72.4%, 0%, 38.8%)
CIE-LABlab(27.25, 40.72, -58.37)
CIE-LCHlch(27.25, 71.17, 304.90°)
OKLaboklab(39.06% 0.0389 -0.1681)
OKLCHoklch(39.06% 0.173 283)
XYZxyz(8.9127, 5.1842, 31.9770)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2B9C #889C2B
analogous
#2B509C #3F2B9C #782B9C
triadic
#3F2B9C #9C3F2B #2B9C3F
tetradic
#3F2B9C #9C2B50 #889C2B #2B9C78
square
#3F2B9C #9C2B50 #889C2B #2B9C78
split-complementary
#3F2B9C #9C782B #509C2B
monochromatic
#18113C #2C1E6C #3F2B9C #543BC9 #7E6BD6

Accessibility & contrast

On white

10.31
#3F2B9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3F2B9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2B9C
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2B9C#FFFFFF#000000##FFFFFF
##3F2B9C1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#044A60
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3f2b9c;
/* rgb */ color: rgb(63, 43, 156);
/* oklch */ color: oklch(39.1% 0.173 283.0);
Tailwind
colors: {
  custom: {
    50: '#7f66ba',
    500: '#3f2b9c',
    950: '#000000',
  },
}
SCSS
$custom: #3f2b9c;
$custom-light: #7f66ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2b9c",
  "rgb": {
    "r": 63,
    "g": 43,
    "b": 156
  },
  "hsl": {
    "h": 250.619,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39061,
    "c": 0.17258,
    "h": 283
  },
  "luminance": 0.05185
}

Semantic roles & 50–950 ramp

primary
#3F2B9C
secondary
#AEBD66
accent
#E048C5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F2B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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