#3B334A#3B334A

#3B334A is a dark, muted violet. Relative luminance 0.038; OKLCH L 33.9% C 0.041 H 300.2°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#3B334A
RGBrgb(59, 51, 74)
HSLhsl(261, 18%, 25%)
HSVhsv(261, 31%, 29%)
CMYKcmyk(20.3%, 31.1%, 0%, 71%)
CIE-LABlab(22.97, 9.12, -12.88)
CIE-LCHlch(22.97, 15.78, 305.29°)
OKLaboklab(33.95% 0.0206 -0.0354)
OKLCHoklch(33.95% 0.041 300.2)
XYZxyz(4.2232, 3.7919, 6.9866)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B334A #424A33
analogous
#33374A #3B334A #47334A
triadic
#3B334A #4A3B33 #334A3B
tetradic
#3B334A #4A3337 #424A33 #334A47
square
#3B334A #4A3337 #424A33 #334A47
split-complementary
#3B334A #4A4733 #374A33
monochromatic
#0E0C12 #1E1A26 #3B334A #584C6E #756592

Accessibility & contrast

On white

11.94
#3B334A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3B334A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B334A
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B334A#FFFFFF#000000##FFFFFF
##3B334A1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E374B
Deuteranopia (green-blind)
#2F3749
Tritanopia (blue-blind)
#38363B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3b334a;
/* rgb */ color: rgb(59, 51, 74);
/* oklch */ color: oklch(33.9% 0.041 300.2);
Tailwind
colors: {
  custom: {
    50: '#716a7c',
    500: '#3b334a',
    950: '#000000',
  },
}
SCSS
$custom: #3b334a;
$custom-light: #716a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b334a",
  "rgb": {
    "r": 59,
    "g": 51,
    "b": 74
  },
  "hsl": {
    "h": 260.87,
    "s": 18.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33949,
    "c": 0.04092,
    "h": 300.2
  },
  "luminance": 0.03792
}

Semantic roles & 50–950 ramp

primary
#3B334A
secondary
#717A5E
accent
#BB6DA0
background
#F6F6F7
surface
#ECEBEE
border
#C7C6C9
text
#070609
muted
#7A7A7B

Preview Lab

Preview with #3B334A

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

Preview Lab → · Contrast checker → · Palette generator →

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