#3F326B#3F326B

#3F326B is a dark, moderate violet. Relative luminance 0.044; OKLCH L 36.2% C 0.096 H 291.4°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#3F326B
RGBrgb(63, 50, 107)
HSLhsl(254, 36%, 31%)
HSVhsv(254, 53%, 42%)
CMYKcmyk(41.1%, 53.3%, 0%, 58%)
CIE-LABlab(24.95, 20.83, -31.41)
CIE-LCHlch(24.95, 37.69, 303.56°)
OKLaboklab(36.15% 0.0348 -0.0889)
OKLCHoklch(36.15% 0.096 291.4)
XYZxyz(5.8436, 4.3993, 14.4483)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F326B #5E6B32
analogous
#32416B #3F326B #5B326B
triadic
#3F326B #6B3F32 #326B3F
tetradic
#3F326B #6B3241 #5E6B32 #326B5B
square
#3F326B #6B3241 #5E6B32 #326B5B
split-complementary
#3F326B #6B5B32 #416B32
monochromatic
#0E0B18 #261F41 #3F326B #584595 #7562B6

Accessibility & contrast

On white

11.17
#3F326B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3F326B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F326B
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F326B#FFFFFF#000000##FFFFFF
##3F326B1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3C6D
Deuteranopia (green-blind)
#1D3A6A
Tritanopia (blue-blind)
#333E49
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3f326b;
/* rgb */ color: rgb(63, 50, 107);
/* oklch */ color: oklch(36.2% 0.096 291.4);
Tailwind
colors: {
  custom: {
    50: '#776a96',
    500: '#3f326b',
    950: '#000000',
  },
}
SCSS
$custom: #3f326b;
$custom-light: #776a96;
$custom-dark: #000000;
JSON
{
  "hex": "#3f326b",
  "rgb": {
    "r": 63,
    "g": 50,
    "b": 107
  },
  "hsl": {
    "h": 253.684,
    "s": 36.306,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36151,
    "c": 0.09551,
    "h": 291.4
  },
  "luminance": 0.044
}

Semantic roles & 50–950 ramp

primary
#3F326B
secondary
#8E9C5D
accent
#CC5BB3
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060D
muted
#7B7A7E

Preview Lab

Preview with #3F326B

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

Preview Lab → · Contrast checker → · Palette generator →

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