#3B1470#3B1470

#3B1470 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.145 H 296.0°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#3B1470
RGBrgb(59, 20, 112)
HSLhsl(265, 70%, 26%)
HSVhsv(265, 82%, 44%)
CMYKcmyk(47.3%, 82.1%, 0%, 56.1%)
CIE-LABlab(18.36, 38.94, -45.33)
CIE-LCHlch(18.36, 59.76, 310.67°)
OKLaboklab(31.4% 0.0635 -0.1299)
OKLCHoklch(31.4% 0.145 296)
XYZxyz(4.9776, 2.5999, 15.5657)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1470 #497014
analogous
#141B70 #3B1470 #691470
triadic
#3B1470 #703B14 #14703B
tetradic
#3B1470 #70141B #497014 #147069
square
#3B1470 #70141B #497014 #147069
split-complementary
#3B1470 #706914 #1B7014
monochromatic
#0E051A #200B3C #3B1470 #561DA4 #7227D8

Accessibility & contrast

On white

13.82
#3B1470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3B1470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1470
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1470#FFFFFF#000000##FFFFFF
##3B14701.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D73
Deuteranopia (green-blind)
#002B6E
Tritanopia (blue-blind)
#2C2E42
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3b1470;
/* rgb */ color: rgb(59, 20, 112);
/* oklch */ color: oklch(31.4% 0.145 296.0);
Tailwind
colors: {
  custom: {
    50: '#77579a',
    500: '#3b1470',
    950: '#000000',
  },
}
SCSS
$custom: #3b1470;
$custom-light: #77579a;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1470",
  "rgb": {
    "r": 59,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 265.435,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31399,
    "c": 0.14459,
    "h": 296
  },
  "luminance": 0.026
}

Semantic roles & 50–950 ramp

primary
#3B1470
secondary
#78A639
accent
#ED3BA1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3B1470

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

Preview Lab → · Contrast checker → · Palette generator →

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