#3B2168#3B2168

#3B2168 is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.4% C 0.118 H 296.0°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#3B2168
RGBrgb(59, 33, 104)
HSLhsl(262, 52%, 27%)
HSVhsv(262, 68%, 41%)
CMYKcmyk(43.3%, 68.3%, 0%, 59.2%)
CIE-LABlab(20.11, 29.74, -37.27)
CIE-LCHlch(20.11, 47.69, 308.59°)
OKLaboklab(32.42% 0.0518 -0.1063)
OKLCHoklch(32.42% 0.118 296)
XYZxyz(4.8455, 3.0169, 13.4210)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2168 #4E6821
analogous
#212B68 #3B2168 #5F2168
triadic
#3B2168 #683B21 #21683B
tetradic
#3B2168 #68212B #4E6821 #21685F
square
#3B2168 #68212B #4E6821 #21685F
split-complementary
#3B2168 #685F21 #2B6821
monochromatic
#0D0717 #21123A #3B2168 #553096 #7041C3

Accessibility & contrast

On white

13.10
#3B2168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#3B2168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2168
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2168#FFFFFF#000000##FFFFFF
##3B21681.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316A
Deuteranopia (green-blind)
#003067
Tritanopia (blue-blind)
#303141
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3b2168;
/* rgb */ color: rgb(59, 33, 104);
/* oklch */ color: oklch(32.4% 0.118 296.0);
Tailwind
colors: {
  custom: {
    50: '#755e94',
    500: '#3b2168',
    950: '#000000',
  },
}
SCSS
$custom: #3b2168;
$custom-light: #755e94;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2168",
  "rgb": {
    "r": 59,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 261.972,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32418,
    "c": 0.11825,
    "h": 296
  },
  "luminance": 0.03017
}

Semantic roles & 50–950 ramp

primary
#3B2168
secondary
#7E9C49
accent
#DB4DA7
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3B2168

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

Preview Lab → · Contrast checker → · Palette generator →

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