#3E329F#3E329F

#3E329F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.3% C 0.168 H 280.7°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#3E329F
RGBrgb(62, 50, 159)
HSLhsl(247, 52%, 41%)
HSVhsv(247, 69%, 62%)
CMYKcmyk(61%, 68.6%, 0%, 37.6%)
CIE-LABlab(28.92, 37.45, -57.46)
CIE-LCHlch(28.92, 68.59, 303.10°)
OKLaboklab(40.32% 0.0312 -0.1655)
OKLCHoklch(40.32% 0.168 280.7)
XYZxyz(9.3832, 5.8079, 33.4207)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E329F #939F32
analogous
#325C9F #3E329F #74329F
triadic
#3E329F #9F3E32 #329F3E
tetradic
#3E329F #9F325C #939F32 #329F74
square
#3E329F #9F325C #939F32 #329F74
split-complementary
#3E329F #9F7432 #5C9F32
monochromatic
#1A1542 #2C2370 #3E329F #5649C6 #8177D4

Accessibility & contrast

On white

9.71
#3E329F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3E329F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E329F
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E329F#FFFFFF#000000##FFFFFF
##3E329F1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3e329f;
/* rgb */ color: rgb(62, 50, 159);
/* oklch */ color: oklch(40.3% 0.168 280.7);
Tailwind
colors: {
  custom: {
    50: '#7e6bbc',
    500: '#3e329f',
    950: '#000000',
  },
}
SCSS
$custom: #3e329f;
$custom-light: #7e6bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e329f",
  "rgb": {
    "r": 62,
    "g": 50,
    "b": 159
  },
  "hsl": {
    "h": 246.606,
    "s": 52.153,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40319,
    "c": 0.16844,
    "h": 280.7
  },
  "luminance": 0.05809
}

Semantic roles & 50–950 ramp

primary
#3E329F
secondary
#B4BD70
accent
#DC4CCC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3E329F

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

Preview Lab → · Contrast checker → · Palette generator →

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