#3F327C#3F327C

#3F327C is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.4% C 0.121 H 287.1°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#3F327C
RGBrgb(63, 50, 124)
HSLhsl(251, 43%, 34%)
HSVhsv(251, 60%, 49%)
CMYKcmyk(49.2%, 59.7%, 0%, 51.4%)
CIE-LABlab(26.14, 26.22, -40.34)
CIE-LCHlch(26.14, 48.11, 303.03°)
OKLaboklab(37.41% 0.0355 -0.1152)
OKLCHoklch(37.41% 0.121 287.1)
XYZxyz(6.8275, 4.7929, 19.6303)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F327C #6F7C32
analogous
#324A7C #3F327C #64327C
triadic
#3F327C #7C3F32 #327C3F
tetradic
#3F327C #7C324A #6F7C32 #327C64
square
#3F327C #7C324A #6F7C32 #327C64
split-complementary
#3F327C #7C6432 #4A7C32
monochromatic
#130F25 #292050 #3F327C #5544A8 #7767C2

Accessibility & contrast

On white

10.72
#3F327C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3F327C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F327C
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F327C#FFFFFF#000000##FFFFFF
##3F327C1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00407E
Deuteranopia (green-blind)
#003C7A
Tritanopia (blue-blind)
#2B4352
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3f327c;
/* rgb */ color: rgb(63, 50, 124);
/* oklch */ color: oklch(37.4% 0.121 287.1);
Tailwind
colors: {
  custom: {
    50: '#796aa2',
    500: '#3f327c',
    950: '#000000',
  },
}
SCSS
$custom: #3f327c;
$custom-light: #796aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f327c",
  "rgb": {
    "r": 63,
    "g": 50,
    "b": 124
  },
  "hsl": {
    "h": 250.541,
    "s": 42.529,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37412,
    "c": 0.12052,
    "h": 287.1
  },
  "luminance": 0.04793
}

Semantic roles & 50–950 ramp

primary
#3F327C
secondary
#9CA961
accent
#D255BC
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #3F327C

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

Preview Lab → · Contrast checker → · Palette generator →

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