#3E328F#3E328F

#3E328F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.147 H 283.0°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#3E328F
RGBrgb(62, 50, 143)
HSLhsl(248, 48%, 38%)
HSVhsv(248, 65%, 56%)
CMYKcmyk(56.6%, 65%, 0%, 43.9%)
CIE-LABlab(27.54, 32.21, -49.92)
CIE-LCHlch(27.54, 59.41, 302.83°)
OKLaboklab(38.89% 0.0331 -0.1434)
OKLCHoklch(38.89% 0.147 283)
XYZxyz(8.0836, 5.2880, 26.5760)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E328F #838F32
analogous
#32548F #3E328F #6C328F
triadic
#3E328F #8F3E32 #328F3E
tetradic
#3E328F #8F3254 #838F32 #328F6C
square
#3E328F #8F3254 #838F32 #328F6C
split-complementary
#3E328F #8F6C32 #548F32
monochromatic
#171234 #2A2262 #3E328F #5242BC #7B6FCD

Accessibility & contrast

On white

10.21
#3E328F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3E328F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E328F
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E328F#FFFFFF#000000##FFFFFF
##3E328F1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#18495B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e328f;
/* rgb */ color: rgb(62, 50, 143);
/* oklch */ color: oklch(38.9% 0.147 283.0);
Tailwind
colors: {
  custom: {
    50: '#7c6bb1',
    500: '#3e328f',
    950: '#000000',
  },
}
SCSS
$custom: #3e328f;
$custom-light: #7c6bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e328f",
  "rgb": {
    "r": 62,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 247.742,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38889,
    "c": 0.14717,
    "h": 283
  },
  "luminance": 0.05289
}

Semantic roles & 50–950 ramp

primary
#3E328F
secondary
#ABB468
accent
#D850C6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3E328F

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

Preview Lab → · Contrast checker → · Palette generator →

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