#3B105B#3B105B

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

Color values

HEX#3B105B
RGBrgb(59, 16, 91)
HSLhsl(274, 70%, 21%)
HSVhsv(274, 82%, 36%)
CMYKcmyk(35.2%, 82.4%, 0%, 64.3%)
CIE-LABlab(15.78, 35.14, -35.71)
CIE-LCHlch(15.78, 50.10, 314.54°)
OKLaboklab(28.98% 0.0734 -0.1016)
OKLCHoklch(28.98% 0.125 305.8)
XYZxyz(3.8768, 2.0558, 10.0881)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B105B #305B10
analogous
#15105B #3B105B #5B1055
triadic
#3B105B #5B3B10 #105B3B
tetradic
#3B105B #5B1510 #305B10 #10555B
square
#3B105B #5B1510 #305B10 #10555B
split-complementary
#3B105B #555B10 #105B15
monochromatic
#11051A #190727 #3B105B #5D198F #7E22C3

Accessibility & contrast

On white

14.88
#3B105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B105B
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B105B#FFFFFF#000000##FFFFFF
##3B105B1.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265D
Deuteranopia (green-blind)
#00275A
Tritanopia (blue-blind)
#352335
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3b105b;
/* rgb */ color: rgb(59, 16, 91);
/* oklch */ color: oklch(29.0% 0.125 305.8);
Tailwind
colors: {
  custom: {
    50: '#75548a',
    500: '#3b105b',
    950: '#000000',
  },
}
SCSS
$custom: #3b105b;
$custom-light: #75548a;
$custom-dark: #000000;
JSON
{
  "hex": "#3b105b",
  "rgb": {
    "r": 59,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 274.4,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28983,
    "c": 0.12535,
    "h": 305.8
  },
  "luminance": 0.02056
}

Semantic roles & 50–950 ramp

primary
#3B105B
secondary
#5C9433
accent
#ED3B87
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3B105B

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

Preview Lab → · Contrast checker → · Palette generator →

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