#3B105D#3B105D

#3B105D is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.128 H 304.8°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#3B105D
RGBrgb(59, 16, 93)
HSLhsl(274, 71%, 21%)
HSVhsv(274, 83%, 36%)
CMYKcmyk(36.6%, 82.8%, 0%, 63.5%)
CIE-LABlab(15.96, 35.66, -36.76)
CIE-LCHlch(15.96, 51.21, 314.13°)
OKLaboklab(29.16% 0.0728 -0.1047)
OKLCHoklch(29.16% 0.128 304.8)
XYZxyz(3.9643, 2.0907, 10.5485)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B105D #325D10
analogous
#14105D #3B105D #5D1059
triadic
#3B105D #5D3B10 #105D3B
tetradic
#3B105D #5D1410 #325D10 #10595D
square
#3B105D #5D1410 #325D10 #10595D
split-complementary
#3B105D #595D10 #105D14
monochromatic
#11041A #1A0729 #3B105D #5C1991 #7D22C5

Accessibility & contrast

On white

14.81
#3B105D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3B105D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B105D
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B105D#FFFFFF#000000##FFFFFF
##3B105D1.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275F
Deuteranopia (green-blind)
#00285B
Tritanopia (blue-blind)
#342436
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3b105d;
/* rgb */ color: rgb(59, 16, 93);
/* oklch */ color: oklch(29.2% 0.128 304.8);
Tailwind
colors: {
  custom: {
    50: '#75548c',
    500: '#3b105d',
    950: '#000000',
  },
}
SCSS
$custom: #3b105d;
$custom-light: #75548c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b105d",
  "rgb": {
    "r": 59,
    "g": 16,
    "b": 93
  },
  "hsl": {
    "h": 273.506,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29164,
    "c": 0.12756,
    "h": 304.8
  },
  "luminance": 0.02091
}

Semantic roles & 50–950 ramp

primary
#3B105D
secondary
#5F9633
accent
#ED3A89
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3B105D

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

Preview Lab → · Contrast checker → · Palette generator →

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