#3B334F#3B334F

#3B334F is a dark, muted violet. Relative luminance 0.039; OKLCH L 34.2% C 0.049 H 296.8°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#3B334F
RGBrgb(59, 51, 79)
HSLhsl(257, 22%, 25%)
HSVhsv(257, 35%, 31%)
CMYKcmyk(25.3%, 35.4%, 0%, 69%)
CIE-LABlab(23.21, 10.50, -15.85)
CIE-LCHlch(23.21, 19.01, 303.54°)
OKLaboklab(34.21% 0.0222 -0.0438)
OKLCHoklch(34.21% 0.049 296.8)
XYZxyz(4.3984, 3.8619, 7.9093)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B334F #474F33
analogous
#33394F #3B334F #49334F
triadic
#3B334F #4F3B33 #334F3B
tetradic
#3B334F #4F3339 #474F33 #334F49
square
#3B334F #4F3339 #474F33 #334F49
split-complementary
#3B334F #4F4933 #394F33
monochromatic
#0E0C13 #1F1B2A #3B334F #574B74 #736399

Accessibility & contrast

On white

11.85
#3B334F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3B334F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B334F
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B334F#FFFFFF#000000##FFFFFF
##3B334F1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3750
Deuteranopia (green-blind)
#2D374E
Tritanopia (blue-blind)
#37383D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3b334f;
/* rgb */ color: rgb(59, 51, 79);
/* oklch */ color: oklch(34.2% 0.049 296.8);
Tailwind
colors: {
  custom: {
    50: '#716a80',
    500: '#3b334f',
    950: '#000000',
  },
}
SCSS
$custom: #3b334f;
$custom-light: #716a80;
$custom-dark: #000000;
JSON
{
  "hex": "#3b334f",
  "rgb": {
    "r": 59,
    "g": 51,
    "b": 79
  },
  "hsl": {
    "h": 257.143,
    "s": 21.538,
    "l": 25.49
  },
  "oklch": {
    "l": 0.34211,
    "c": 0.04914,
    "h": 296.8
  },
  "luminance": 0.03862
}

Semantic roles & 50–950 ramp

primary
#3B334F
secondary
#76805E
accent
#BE6AA6
background
#F6F6F7
surface
#ECEBEE
border
#C7C6C9
text
#08060A
muted
#7B7A7C

Preview Lab

Preview with #3B334F

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

Preview Lab → · Contrast checker → · Palette generator →

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