#3B105C#3B105C

#3B105C is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.126 H 305.3°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#3B105C
RGBrgb(59, 16, 92)
HSLhsl(274, 70%, 21%)
HSVhsv(274, 83%, 36%)
CMYKcmyk(35.9%, 82.6%, 0%, 63.9%)
CIE-LABlab(15.87, 35.40, -36.24)
CIE-LCHlch(15.87, 50.66, 314.33°)
OKLaboklab(29.07% 0.0731 -0.1032)
OKLCHoklch(29.07% 0.126 305.3)
XYZxyz(3.9203, 2.0731, 10.3168)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B105C #315C10
analogous
#15105C #3B105C #5C1057
triadic
#3B105C #5C3B10 #105C3B
tetradic
#3B105C #5C1510 #315C10 #10575C
square
#3B105C #5C1510 #315C10 #10575C
split-complementary
#3B105C #575C10 #105C15
monochromatic
#11051A #1A0728 #3B105C #5C1990 #7E22C4

Accessibility & contrast

On white

14.85
#3B105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3B105C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B105C
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B105C#FFFFFF#000000##FFFFFF
##3B105C1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265E
Deuteranopia (green-blind)
#00285A
Tritanopia (blue-blind)
#352336
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3b105c;
/* rgb */ color: rgb(59, 16, 92);
/* oklch */ color: oklch(29.1% 0.126 305.3);
Tailwind
colors: {
  custom: {
    50: '#75548b',
    500: '#3b105c',
    950: '#000000',
  },
}
SCSS
$custom: #3b105c;
$custom-light: #75548b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b105c",
  "rgb": {
    "r": 59,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 273.947,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29073,
    "c": 0.12645,
    "h": 305.3
  },
  "luminance": 0.02073
}

Semantic roles & 50–950 ramp

primary
#3B105C
secondary
#5D9533
accent
#ED3B88
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3B105C

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

Preview Lab → · Contrast checker → · Palette generator →

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