#3B1972#3B1972

#3B1972 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.141 H 294.4°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#3B1972
RGBrgb(59, 25, 114)
HSLhsl(263, 64%, 27%)
HSVhsv(263, 78%, 45%)
CMYKcmyk(48.2%, 78.1%, 0%, 55.3%)
CIE-LABlab(19.39, 37.12, -44.94)
CIE-LCHlch(19.39, 58.29, 309.55°)
OKLaboklab(32.18% 0.0585 -0.1288)
OKLCHoklch(32.18% 0.141 294.4)
XYZxyz(5.1877, 2.8398, 16.1911)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1972 #507219
analogous
#192472 #3B1972 #671972
triadic
#3B1972 #723B19 #19723B
tetradic
#3B1972 #721924 #507219 #197267
square
#3B1972 #721924 #507219 #197267
split-complementary
#3B1972 #726719 #247219
monochromatic
#0D0619 #210E40 #3B1972 #5524A4 #7033D2

Accessibility & contrast

On white

13.39
#3B1972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#3B1972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1972
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1972#FFFFFF#000000##FFFFFF
##3B19721.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003075
Deuteranopia (green-blind)
#002D70
Tritanopia (blue-blind)
#2B3144
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3b1972;
/* rgb */ color: rgb(59, 25, 114);
/* oklch */ color: oklch(32.2% 0.141 294.4);
Tailwind
colors: {
  custom: {
    50: '#775a9b',
    500: '#3b1972',
    950: '#000000',
  },
}
SCSS
$custom: #3b1972;
$custom-light: #775a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1972",
  "rgb": {
    "r": 59,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 262.921,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32177,
    "c": 0.14146,
    "h": 294.4
  },
  "luminance": 0.0284
}

Semantic roles & 50–950 ramp

primary
#3B1972
secondary
#80A740
accent
#E741A8
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3B1972

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

Preview Lab → · Contrast checker → · Palette generator →

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