#3B1372#3B1372

#3B1372 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.148 H 295.5°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#3B1372
RGBrgb(59, 19, 114)
HSLhsl(265, 71%, 26%)
HSVhsv(265, 83%, 45%)
CMYKcmyk(48.2%, 83.3%, 0%, 55.3%)
CIE-LABlab(18.41, 39.93, -46.55)
CIE-LCHlch(18.41, 61.33, 310.63°)
OKLaboklab(31.49% 0.0636 -0.1335)
OKLCHoklch(31.49% 0.148 295.5)
XYZxyz(5.0729, 2.6103, 16.1529)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1372 #4A7213
analogous
#131A72 #3B1372 #6A1372
triadic
#3B1372 #723B13 #13723B
tetradic
#3B1372 #72131A #4A7213 #13726A
square
#3B1372 #72131A #4A7213 #13726A
split-complementary
#3B1372 #726A13 #1A7213
monochromatic
#0E041A #200A3E #3B1372 #561CA6 #7125DB

Accessibility & contrast

On white

13.80
#3B1372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B1372
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1372#FFFFFF#000000##FFFFFF
##3B13721.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E75
Deuteranopia (green-blind)
#002B70
Tritanopia (blue-blind)
#2B2E43
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3b1372;
/* rgb */ color: rgb(59, 19, 114);
/* oklch */ color: oklch(31.5% 0.148 295.5);
Tailwind
colors: {
  custom: {
    50: '#78579b',
    500: '#3b1372',
    950: '#000000',
  },
}
SCSS
$custom: #3b1372;
$custom-light: #78579b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1372",
  "rgb": {
    "r": 59,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 265.263,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31492,
    "c": 0.14787,
    "h": 295.5
  },
  "luminance": 0.0261
}

Semantic roles & 50–950 ramp

primary
#3B1372
secondary
#79A938
accent
#EE3AA2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3B1372

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

Preview Lab → · Contrast checker → · Palette generator →

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