#3F329F#3F329F

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

Color values

HEX#3F329F
RGBrgb(63, 50, 159)
HSLhsl(247, 52%, 41%)
HSVhsv(247, 69%, 62%)
CMYKcmyk(60.4%, 68.6%, 0%, 37.6%)
CIE-LABlab(29.01, 37.61, -57.32)
CIE-LCHlch(29.01, 68.56, 303.27°)
OKLaboklab(40.4% 0.0326 -0.1651)
OKLCHoklch(40.4% 0.168 281.2)
XYZxyz(9.4465, 5.8405, 33.4237)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F329F #929F32
analogous
#325B9F #3F329F #75329F
triadic
#3F329F #9F3F32 #329F3F
tetradic
#3F329F #9F325B #929F32 #329F75
square
#3F329F #9F325B #929F32 #329F75
split-complementary
#3F329F #9F7532 #5B9F32
monochromatic
#1A1542 #2D2370 #3F329F #5749C6 #8277D4

Accessibility & contrast

On white

9.69
#3F329F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3F329F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F329F
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F329F#FFFFFF#000000##FFFFFF
##3F329F1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.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: #3f329f;
/* rgb */ color: rgb(63, 50, 159);
/* oklch */ color: oklch(40.4% 0.168 281.2);
Tailwind
colors: {
  custom: {
    50: '#7f6bbc',
    500: '#3f329f',
    950: '#000000',
  },
}
SCSS
$custom: #3f329f;
$custom-light: #7f6bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f329f",
  "rgb": {
    "r": 63,
    "g": 50,
    "b": 159
  },
  "hsl": {
    "h": 247.156,
    "s": 52.153,
    "l": 40.98
  },
  "oklch": {
    "l": 0.404,
    "c": 0.16825,
    "h": 281.2
  },
  "luminance": 0.05841
}

Semantic roles & 50–950 ramp

primary
#3F329F
secondary
#B3BD70
accent
#DC4CCA
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3F329F

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

Preview Lab → · Contrast checker → · Palette generator →

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