#3B1970#3B1970

#3B1970 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.139 H 295.1°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#3B1970
RGBrgb(59, 25, 112)
HSLhsl(263, 64%, 27%)
HSVhsv(263, 78%, 44%)
CMYKcmyk(47.3%, 77.7%, 0%, 56.1%)
CIE-LABlab(19.20, 36.55, -43.95)
CIE-LCHlch(19.20, 57.16, 309.74°)
OKLaboklab(31.99% 0.059 -0.1259)
OKLCHoklch(31.99% 0.139 295.1)
XYZxyz(5.0751, 2.7948, 15.5981)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1970 #4E7019
analogous
#192370 #3B1970 #671970
triadic
#3B1970 #703B19 #19703B
tetradic
#3B1970 #701923 #4E7019 #197067
square
#3B1970 #701923 #4E7019 #197067
split-complementary
#3B1970 #706719 #237019
monochromatic
#0D0619 #210E3E #3B1970 #5524A2 #7032D1

Accessibility & contrast

On white

13.47
#3B1970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#3B1970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1970
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1970#FFFFFF#000000##FFFFFF
##3B19701.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F72
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#2C3043
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3b1970;
/* rgb */ color: rgb(59, 25, 112);
/* oklch */ color: oklch(32.0% 0.139 295.1);
Tailwind
colors: {
  custom: {
    50: '#77599a',
    500: '#3b1970',
    950: '#000000',
  },
}
SCSS
$custom: #3b1970;
$custom-light: #77599a;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1970",
  "rgb": {
    "r": 59,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 263.448,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31987,
    "c": 0.13906,
    "h": 295.1
  },
  "luminance": 0.02795
}

Semantic roles & 50–950 ramp

primary
#3B1970
secondary
#7EA540
accent
#E741A6
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3B1970

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

Preview Lab → · Contrast checker → · Palette generator →

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