#3F2D9F#3F2D9F

#3F2D9F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.174 H 282.2°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#3F2D9F
RGBrgb(63, 45, 159)
HSLhsl(249, 56%, 40%)
HSVhsv(249, 72%, 62%)
CMYKcmyk(60.4%, 71.7%, 0%, 37.6%)
CIE-LABlab(27.94, 40.53, -59.06)
CIE-LCHlch(27.94, 71.63, 304.46°)
OKLaboklab(39.64% 0.0367 -0.1702)
OKLCHoklch(39.64% 0.174 282.2)
XYZxyz(9.2443, 5.4361, 33.3563)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2D9F #8D9F2D
analogous
#2D549F #3F2D9F #782D9F
triadic
#3F2D9F #9F3F2D #2D9F3F
tetradic
#3F2D9F #9F2D54 #8D9F2D #2D9F78
square
#3F2D9F #9F2D54 #8D9F2D #2D9F78
split-complementary
#3F2D9F #9F782D #549F2D
monochromatic
#191240 #2C206F #3F2D9F #5640C9 #8070D6

Accessibility & contrast

On white

10.06
#3F2D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3F2D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2D9F
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2D9F#FFFFFF#000000##FFFFFF
##3F2D9F1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3f2d9f;
/* rgb */ color: rgb(63, 45, 159);
/* oklch */ color: oklch(39.6% 0.174 282.2);
Tailwind
colors: {
  custom: {
    50: '#7f68bc',
    500: '#3f2d9f',
    950: '#000000',
  },
}
SCSS
$custom: #3f2d9f;
$custom-light: #7f68bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2d9f",
  "rgb": {
    "r": 63,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 249.474,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.39638,
    "c": 0.17409,
    "h": 282.2
  },
  "luminance": 0.05437
}

Semantic roles & 50–950 ramp

primary
#3F2D9F
secondary
#B1BE6A
accent
#DF49C7
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F2D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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