#3B1475#3B1475

#3B1475 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.9% C 0.150 H 294.3°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#3B1475
RGBrgb(59, 20, 117)
HSLhsl(264, 71%, 27%)
HSVhsv(264, 83%, 46%)
CMYKcmyk(49.6%, 82.9%, 0%, 54.1%)
CIE-LABlab(18.86, 40.32, -47.74)
CIE-LCHlch(18.86, 62.49, 310.18°)
OKLaboklab(31.9% 0.0618 -0.137)
OKLCHoklch(31.9% 0.15 294.3)
XYZxyz(5.2638, 2.7143, 17.0727)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1475 #4E7514
analogous
#141D75 #3B1475 #6C1475
triadic
#3B1475 #753B14 #14753B
tetradic
#3B1475 #75141D #4E7514 #14756C
square
#3B1475 #75141D #4E7514 #14756C
split-complementary
#3B1475 #756C14 #1D7514
monochromatic
#0D041A #210B41 #3B1475 #551DA9 #7029DA

Accessibility & contrast

On white

13.61
#3B1475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B1475
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1475#FFFFFF#000000##FFFFFF
##3B14751.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b1475;
/* rgb */ color: rgb(59, 20, 117);
/* oklch */ color: oklch(31.9% 0.150 294.3);
Tailwind
colors: {
  custom: {
    50: '#78579e',
    500: '#3b1475',
    950: '#000000',
  },
}
SCSS
$custom: #3b1475;
$custom-light: #78579e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1475",
  "rgb": {
    "r": 59,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 264.124,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31897,
    "c": 0.15028,
    "h": 294.3
  },
  "luminance": 0.02714
}

Semantic roles & 50–950 ramp

primary
#3B1475
secondary
#7EAB3A
accent
#EE3AA5
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3B1475

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

Preview Lab → · Contrast checker → · Palette generator →

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