#3E328E#3E328E

#3E328E is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.146 H 283.2°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#3E328E
RGBrgb(62, 50, 142)
HSLhsl(248, 48%, 38%)
HSVhsv(248, 65%, 56%)
CMYKcmyk(56.3%, 64.8%, 0%, 44.3%)
CIE-LABlab(27.46, 31.88, -49.44)
CIE-LCHlch(27.46, 58.83, 302.82°)
OKLaboklab(38.8% 0.0332 -0.142)
OKLCHoklch(38.8% 0.146 283.2)
XYZxyz(8.0082, 5.2579, 26.1788)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E328E #828E32
analogous
#32548E #3E328E #6C328E
triadic
#3E328E #8E3E32 #328E3E
tetradic
#3E328E #8E3254 #828E32 #328E6C
square
#3E328E #8E3254 #828E32 #328E6C
split-complementary
#3E328E #8E6C32 #548E32
monochromatic
#161233 #2A2261 #3E328E #5242BB #7B6ECC

Accessibility & contrast

On white

10.24
#3E328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3E328E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E328E
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E328E#FFFFFF#000000##FFFFFF
##3E328E1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#19495B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e328e;
/* rgb */ color: rgb(62, 50, 142);
/* oklch */ color: oklch(38.8% 0.146 283.2);
Tailwind
colors: {
  custom: {
    50: '#7b6ab0',
    500: '#3e328e',
    950: '#000000',
  },
}
SCSS
$custom: #3e328e;
$custom-light: #7b6ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e328e",
  "rgb": {
    "r": 62,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 247.826,
    "s": 47.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38803,
    "c": 0.1458,
    "h": 283.2
  },
  "luminance": 0.05258
}

Semantic roles & 50–950 ramp

primary
#3E328E
secondary
#AAB468
accent
#D850C6
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3E328E

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

Preview Lab → · Contrast checker → · Palette generator →

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