#3B135C#3B135C

#3B135C is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.123 H 304.8°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#3B135C
RGBrgb(59, 19, 92)
HSLhsl(273, 66%, 22%)
HSVhsv(273, 79%, 36%)
CMYKcmyk(35.9%, 79.3%, 0%, 63.9%)
CIE-LABlab(16.35, 34.02, -35.45)
CIE-LCHlch(16.35, 49.14, 313.82°)
OKLaboklab(29.41% 0.0701 -0.1009)
OKLCHoklch(29.41% 0.123 304.8)
XYZxyz(3.9678, 2.1683, 10.3326)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B135C #345C13
analogous
#17135C #3B135C #5C1359
triadic
#3B135C #5C3B13 #135C3B
tetradic
#3B135C #5C1713 #345C13 #13595C
square
#3B135C #5C1713 #345C13 #13595C
split-complementary
#3B135C #595C13 #135C17
monochromatic
#100519 #1A0929 #3B135C #5C1D8F #7C28C1

Accessibility & contrast

On white

14.65
#3B135C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B135C
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B135C#FFFFFF#000000##FFFFFF
##3B135C1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275E
Deuteranopia (green-blind)
#00295B
Tritanopia (blue-blind)
#352536
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3b135c;
/* rgb */ color: rgb(59, 19, 92);
/* oklch */ color: oklch(29.4% 0.123 304.8);
Tailwind
colors: {
  custom: {
    50: '#75558b',
    500: '#3b135c',
    950: '#000000',
  },
}
SCSS
$custom: #3b135c;
$custom-light: #75558b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b135c",
  "rgb": {
    "r": 59,
    "g": 19,
    "b": 92
  },
  "hsl": {
    "h": 272.877,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29411,
    "c": 0.12285,
    "h": 304.8
  },
  "luminance": 0.02168
}

Semantic roles & 50–950 ramp

primary
#3B135C
secondary
#619437
accent
#E93F8C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3B135C

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

Preview Lab → · Contrast checker → · Palette generator →

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