#3B105A#3B105A

#3B105A is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.124 H 306.3°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#3B105A
RGBrgb(59, 16, 90)
HSLhsl(275, 70%, 21%)
HSVhsv(275, 82%, 35%)
CMYKcmyk(34.4%, 82.2%, 0%, 64.7%)
CIE-LABlab(15.69, 34.89, -35.18)
CIE-LCHlch(15.69, 49.55, 314.76°)
OKLaboklab(28.89% 0.0736 -0.1001)
OKLCHoklch(28.89% 0.124 306.3)
XYZxyz(3.8340, 2.0386, 9.8624)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B105A #2F5A10
analogous
#16105A #3B105A #5A1054
triadic
#3B105A #5A3B10 #105A3B
tetradic
#3B105A #5A1610 #2F5A10 #10545A
square
#3B105A #5A1610 #2F5A10 #10545A
split-complementary
#3B105A #545A10 #105A16
monochromatic
#11051A #190726 #3B105A #5D198E #7F22C2

Accessibility & contrast

On white

14.92
#3B105A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B105A
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B105A#FFFFFF#000000##FFFFFF
##3B105A1.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265C
Deuteranopia (green-blind)
#002759
Tritanopia (blue-blind)
#352334
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3b105a;
/* rgb */ color: rgb(59, 16, 90);
/* oklch */ color: oklch(28.9% 0.124 306.3);
Tailwind
colors: {
  custom: {
    50: '#755489',
    500: '#3b105a',
    950: '#000000',
  },
}
SCSS
$custom: #3b105a;
$custom-light: #755489;
$custom-dark: #000000;
JSON
{
  "hex": "#3b105a",
  "rgb": {
    "r": 59,
    "g": 16,
    "b": 90
  },
  "hsl": {
    "h": 274.865,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28893,
    "c": 0.12425,
    "h": 306.3
  },
  "luminance": 0.02039
}

Semantic roles & 50–950 ramp

primary
#3B105A
secondary
#5B9333
accent
#ED3B86
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3B105A

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

Preview Lab → · Contrast checker → · Palette generator →

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