#3F327B#3F327B

#3F327B is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.3% C 0.119 H 287.4°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#3F327B
RGBrgb(63, 50, 123)
HSLhsl(251, 42%, 34%)
HSVhsv(251, 59%, 48%)
CMYKcmyk(48.8%, 59.3%, 0%, 51.8%)
CIE-LABlab(26.06, 25.90, -39.82)
CIE-LCHlch(26.06, 47.51, 303.04°)
OKLaboklab(37.33% 0.0355 -0.1137)
OKLCHoklch(37.33% 0.119 287.4)
XYZxyz(6.7646, 4.7677, 19.2989)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F327B #6E7B32
analogous
#324A7B #3F327B #64327B
triadic
#3F327B #7B3F32 #327B3F
tetradic
#3F327B #7B324A #6E7B32 #327B64
square
#3F327B #7B324A #6E7B32 #327B64
split-complementary
#3F327B #7B6432 #4A7B32
monochromatic
#120F24 #29204F #3F327B #5544A7 #7766C1

Accessibility & contrast

On white

10.75
#3F327B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3F327B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F327B
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F327B#FFFFFF#000000##FFFFFF
##3F327B1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023F7D
Deuteranopia (green-blind)
#023C79
Tritanopia (blue-blind)
#2B4251
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3f327b;
/* rgb */ color: rgb(63, 50, 123);
/* oklch */ color: oklch(37.3% 0.119 287.4);
Tailwind
colors: {
  custom: {
    50: '#796aa2',
    500: '#3f327b',
    950: '#000000',
  },
}
SCSS
$custom: #3f327b;
$custom-light: #796aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f327b",
  "rgb": {
    "r": 63,
    "g": 50,
    "b": 123
  },
  "hsl": {
    "h": 250.685,
    "s": 42.197,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37334,
    "c": 0.11909,
    "h": 287.4
  },
  "luminance": 0.04768
}

Semantic roles & 50–950 ramp

primary
#3F327B
secondary
#9CA960
accent
#D256BC
background
#F7F6FA
surface
#EEEBF3
border
#C9C6CD
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #3F327B

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

Preview Lab → · Contrast checker → · Palette generator →

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