#3F2E9F#3F2E9F

#3F2E9F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.173 H 282.0°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#3F2E9F
RGBrgb(63, 46, 159)
HSLhsl(249, 55%, 40%)
HSVhsv(249, 71%, 62%)
CMYKcmyk(60.4%, 71.1%, 0%, 37.6%)
CIE-LABlab(28.15, 39.96, -58.72)
CIE-LCHlch(28.15, 71.03, 304.24°)
OKLaboklab(39.79% 0.0359 -0.1692)
OKLCHoklch(39.79% 0.173 282)
XYZxyz(9.2830, 5.5133, 33.3692)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2E9F #8E9F2E
analogous
#2E559F #3F2E9F #782E9F
triadic
#3F2E9F #9F3F2E #2E9F3F
tetradic
#3F2E9F #9F2E55 #8E9F2E #2E9F78
square
#3F2E9F #9F2E55 #8E9F2E #2E9F78
split-complementary
#3F2E9F #9F782E #559F2E
monochromatic
#191340 #2C2070 #3F2E9F #5642C8 #8171D6

Accessibility & contrast

On white

9.99
#3F2E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3F2E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2E9F
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2E9F#FFFFFF#000000##FFFFFF
##3F2E9F1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.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: #3f2e9f;
/* rgb */ color: rgb(63, 46, 159);
/* oklch */ color: oklch(39.8% 0.173 282.0);
Tailwind
colors: {
  custom: {
    50: '#7f68bc',
    500: '#3f2e9f',
    950: '#000000',
  },
}
SCSS
$custom: #3f2e9f;
$custom-light: #7f68bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2e9f",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 249.027,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39786,
    "c": 0.17295,
    "h": 282
  },
  "luminance": 0.05514
}

Semantic roles & 50–950 ramp

primary
#3F2E9F
secondary
#B1BE6B
accent
#DE49C8
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F2E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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