#3B1575#3B1575

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

Color values

HEX#3B1575
RGBrgb(59, 21, 117)
HSLhsl(264, 70%, 27%)
HSVhsv(264, 82%, 46%)
CMYKcmyk(49.6%, 82.1%, 0%, 54.1%)
CIE-LABlab(19.01, 39.88, -47.49)
CIE-LCHlch(19.01, 62.01, 310.02°)
OKLaboklab(32% 0.061 -0.1362)
OKLCHoklch(32% 0.149 294.1)
XYZxyz(5.2818, 2.7503, 17.0787)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1575 #4F7515
analogous
#151F75 #3B1575 #6B1575
triadic
#3B1575 #753B15 #15753B
tetradic
#3B1575 #75151F #4F7515 #15756B
square
#3B1575 #75151F #4F7515 #15756B
split-complementary
#3B1575 #756B15 #1F7515
monochromatic
#0D051A #210C41 #3B1575 #551EA9 #702BD9

Accessibility & contrast

On white

13.55
#3B1575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#3B1575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1575
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1575#FFFFFF#000000##FFFFFF
##3B15751.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002D73
Tritanopia (blue-blind)
#293045
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3b1575;
/* rgb */ color: rgb(59, 21, 117);
/* oklch */ color: oklch(32.0% 0.149 294.1);
Tailwind
colors: {
  custom: {
    50: '#78589e',
    500: '#3b1575',
    950: '#000000',
  },
}
SCSS
$custom: #3b1575;
$custom-light: #78589e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1575",
  "rgb": {
    "r": 59,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 263.75,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32003,
    "c": 0.14929,
    "h": 294.1
  },
  "luminance": 0.0275
}

Semantic roles & 50–950 ramp

primary
#3B1575
secondary
#7FAB3B
accent
#EC3BA6
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3B1575

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

Preview Lab → · Contrast checker → · Palette generator →

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