#3B1672#3B1672

#3B1672 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.145 H 295.0°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#3B1672
RGBrgb(59, 22, 114)
HSLhsl(264, 68%, 27%)
HSVhsv(264, 81%, 45%)
CMYKcmyk(48.2%, 80.7%, 0%, 55.3%)
CIE-LABlab(18.88, 38.58, -45.78)
CIE-LCHlch(18.88, 59.87, 310.12°)
OKLaboklab(31.82% 0.0612 -0.1312)
OKLCHoklch(31.82% 0.145 295)
XYZxyz(5.1270, 2.7184, 16.1709)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1672 #4D7216
analogous
#161F72 #3B1672 #691672
triadic
#3B1672 #723B16 #16723B
tetradic
#3B1672 #72161F #4D7216 #167269
square
#3B1672 #72161F #4D7216 #167269
split-complementary
#3B1672 #726916 #1F7216
monochromatic
#0D051A #200C3F #3B1672 #5620A5 #712CD6

Accessibility & contrast

On white

13.60
#3B1672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3B1672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1672
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1672#FFFFFF#000000##FFFFFF
##3B16721.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#002C70
Tritanopia (blue-blind)
#2B2F43
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3b1672;
/* rgb */ color: rgb(59, 22, 114);
/* oklch */ color: oklch(31.8% 0.145 295.0);
Tailwind
colors: {
  custom: {
    50: '#77589b',
    500: '#3b1672',
    950: '#000000',
  },
}
SCSS
$custom: #3b1672;
$custom-light: #77589b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1672",
  "rgb": {
    "r": 59,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 264.13,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31818,
    "c": 0.1448,
    "h": 295
  },
  "luminance": 0.02719
}

Semantic roles & 50–950 ramp

primary
#3B1672
secondary
#7CA83C
accent
#EB3DA5
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3B1672

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

Preview Lab → · Contrast checker → · Palette generator →

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