#3B135D#3B135D

#3B135D is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.124 H 304.3°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#3B135D
RGBrgb(59, 19, 93)
HSLhsl(272, 66%, 22%)
HSVhsv(272, 80%, 36%)
CMYKcmyk(36.6%, 79.6%, 0%, 63.5%)
CIE-LABlab(16.43, 34.29, -35.98)
CIE-LCHlch(16.43, 49.70, 313.62°)
OKLaboklab(29.5% 0.0698 -0.1024)
OKLCHoklch(29.5% 0.124 304.3)
XYZxyz(4.0118, 2.1859, 10.5644)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B135D #355D13
analogous
#16135D #3B135D #5D135A
triadic
#3B135D #5D3B13 #135D3B
tetradic
#3B135D #5D1613 #355D13 #135A5D
square
#3B135D #5D1613 #355D13 #135A5D
split-complementary
#3B135D #5A5D13 #135D16
monochromatic
#100519 #1B092A #3B135D #5B1D90 #7B28C3

Accessibility & contrast

On white

14.61
#3B135D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3B135D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B135D
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B135D#FFFFFF#000000##FFFFFF
##3B135D1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285F
Deuteranopia (green-blind)
#00295C
Tritanopia (blue-blind)
#342537
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3b135d;
/* rgb */ color: rgb(59, 19, 93);
/* oklch */ color: oklch(29.5% 0.124 304.3);
Tailwind
colors: {
  custom: {
    50: '#75558b',
    500: '#3b135d',
    950: '#000000',
  },
}
SCSS
$custom: #3b135d;
$custom-light: #75558b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b135d",
  "rgb": {
    "r": 59,
    "g": 19,
    "b": 93
  },
  "hsl": {
    "h": 272.432,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.295,
    "c": 0.12398,
    "h": 304.3
  },
  "luminance": 0.02186
}

Semantic roles & 50–950 ramp

primary
#3B135D
secondary
#629537
accent
#E93F8D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3B135D

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

Preview Lab → · Contrast checker → · Palette generator →

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