#3B1670#3B1670

#3B1670 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.142 H 295.7°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#3B1670
RGBrgb(59, 22, 112)
HSLhsl(265, 67%, 26%)
HSVhsv(265, 80%, 44%)
CMYKcmyk(47.3%, 80.4%, 0%, 56.1%)
CIE-LABlab(18.69, 38.02, -44.80)
CIE-LCHlch(18.69, 58.76, 310.32°)
OKLaboklab(31.62% 0.0618 -0.1284)
OKLCHoklch(31.62% 0.142 295.7)
XYZxyz(5.0144, 2.6734, 15.5779)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1670 #4B7016
analogous
#161E70 #3B1670 #681670
triadic
#3B1670 #703B16 #16703B
tetradic
#3B1670 #70161E #4B7016 #167068
square
#3B1670 #70161E #4B7016 #167068
split-complementary
#3B1670 #706816 #1E7016
monochromatic
#0D051A #200C3D #3B1670 #5620A3 #712BD5

Accessibility & contrast

On white

13.68
#3B1670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3B1670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1670
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1670#FFFFFF#000000##FFFFFF
##3B16701.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E73
Deuteranopia (green-blind)
#002C6E
Tritanopia (blue-blind)
#2C2F42
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3b1670;
/* rgb */ color: rgb(59, 22, 112);
/* oklch */ color: oklch(31.6% 0.142 295.7);
Tailwind
colors: {
  custom: {
    50: '#77589a',
    500: '#3b1670',
    950: '#000000',
  },
}
SCSS
$custom: #3b1670;
$custom-light: #77589a;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1670",
  "rgb": {
    "r": 59,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 264.667,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31623,
    "c": 0.14247,
    "h": 295.7
  },
  "luminance": 0.02673
}

Semantic roles & 50–950 ramp

primary
#3B1670
secondary
#7AA63C
accent
#EA3EA3
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3B1670

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

Preview Lab → · Contrast checker → · Palette generator →

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