#3B135A#3B135A

#3B135A is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.121 H 305.8°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#3B135A
RGBrgb(59, 19, 90)
HSLhsl(274, 65%, 21%)
HSVhsv(274, 79%, 35%)
CMYKcmyk(34.4%, 78.9%, 0%, 64.7%)
CIE-LABlab(16.17, 33.50, -34.39)
CIE-LCHlch(16.17, 48.01, 314.25°)
OKLaboklab(29.24% 0.0705 -0.0978)
OKLCHoklch(29.24% 0.121 305.8)
XYZxyz(3.8816, 2.1338, 9.8782)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B135A #325A13
analogous
#18135A #3B135A #5A1356
triadic
#3B135A #5A3B13 #135A3B
tetradic
#3B135A #5A1813 #325A13 #13565A
square
#3B135A #5A1813 #325A13 #13565A
split-complementary
#3B135A #565A13 #135A18
monochromatic
#110519 #1A0827 #3B135A #5C1E8D #7D28BF

Accessibility & contrast

On white

14.72
#3B135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#3B135A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B135A
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B135A#FFFFFF#000000##FFFFFF
##3B135A1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275C
Deuteranopia (green-blind)
#002859
Tritanopia (blue-blind)
#352435
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3b135a;
/* rgb */ color: rgb(59, 19, 90);
/* oklch */ color: oklch(29.2% 0.121 305.8);
Tailwind
colors: {
  custom: {
    50: '#755589',
    500: '#3b135a',
    950: '#000000',
  },
}
SCSS
$custom: #3b135a;
$custom-light: #755589;
$custom-dark: #000000;
JSON
{
  "hex": "#3b135a",
  "rgb": {
    "r": 59,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 273.803,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29235,
    "c": 0.12055,
    "h": 305.8
  },
  "luminance": 0.02134
}

Semantic roles & 50–950 ramp

primary
#3B135A
secondary
#5F9237
accent
#E84089
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3B135A

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

Preview Lab → · Contrast checker → · Palette generator →

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