#3F2E95#3F2E95

#3F2E95 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.160 H 283.6°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#3F2E95
RGBrgb(63, 46, 149)
HSLhsl(250, 53%, 38%)
HSVhsv(250, 69%, 58%)
CMYKcmyk(57.7%, 69.1%, 0%, 41.6%)
CIE-LABlab(27.24, 36.77, -54.10)
CIE-LCHlch(27.24, 65.41, 304.20°)
OKLaboklab(38.86% 0.0376 -0.1556)
OKLCHoklch(38.86% 0.16 283.6)
XYZxyz(8.4500, 5.1802, 28.9825)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2E95 #84952E
analogous
#2E5095 #3F2E95 #722E95
triadic
#3F2E95 #953F2E #2E953F
tetradic
#3F2E95 #952E50 #84952E #2E9572
square
#3F2E95 #952E50 #84952E #2E9572
split-complementary
#3F2E95 #95722E #50952E
monochromatic
#171137 #2B2066 #3F2E95 #533DC3 #7D6CD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F2E95#FFFFFF#000000##FFFFFF
##3F2E951.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)
#004498
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#13495D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3f2e95;
/* rgb */ color: rgb(63, 46, 149);
/* oklch */ color: oklch(38.9% 0.160 283.6);
Tailwind
colors: {
  custom: {
    50: '#7e68b5',
    500: '#3f2e95',
    950: '#000000',
  },
}
SCSS
$custom: #3f2e95;
$custom-light: #7e68b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2e95",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 249.903,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38856,
    "c": 0.16011,
    "h": 283.6
  },
  "luminance": 0.05181
}

Semantic roles & 50–950 ramp

primary
#3F2E95
secondary
#ABB966
accent
#DC4CC4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3F2E95

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

Preview Lab → · Contrast checker → · Palette generator →

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