#3B135F#3B135F

#3B135F is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.126 H 303.3°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#3B135F
RGBrgb(59, 19, 95)
HSLhsl(272, 67%, 22%)
HSVhsv(272, 80%, 37%)
CMYKcmyk(37.9%, 80%, 0%, 62.7%)
CIE-LABlab(16.61, 34.81, -37.03)
CIE-LCHlch(16.61, 50.82, 313.24°)
OKLaboklab(29.68% 0.0693 -0.1055)
OKLCHoklch(29.68% 0.126 303.3)
XYZxyz(4.1016, 2.2218, 11.0370)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B135F #375F13
analogous
#15135F #3B135F #5F135D
triadic
#3B135F #5F3B13 #135F3B
tetradic
#3B135F #5F1513 #375F13 #135D5F
square
#3B135F #5F1513 #375F13 #135D5F
split-complementary
#3B135F #5D5F13 #135F15
monochromatic
#10051A #1B092C #3B135F #5B1D92 #7A27C5

Accessibility & contrast

On white

14.54
#3B135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B135F
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B135F#FFFFFF#000000##FFFFFF
##3B135F1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002861
Deuteranopia (green-blind)
#00295D
Tritanopia (blue-blind)
#342638
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3b135f;
/* rgb */ color: rgb(59, 19, 95);
/* oklch */ color: oklch(29.7% 0.126 303.3);
Tailwind
colors: {
  custom: {
    50: '#75558d',
    500: '#3b135f',
    950: '#000000',
  },
}
SCSS
$custom: #3b135f;
$custom-light: #75558d;
$custom-dark: #000000;
JSON
{
  "hex": "#3b135f",
  "rgb": {
    "r": 59,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 271.579,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29679,
    "c": 0.12627,
    "h": 303.3
  },
  "luminance": 0.02222
}

Semantic roles & 50–950 ramp

primary
#3B135F
secondary
#649737
accent
#EA3E8F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3B135F

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

Preview Lab → · Contrast checker → · Palette generator →

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