#3B105E#3B105E

#3B105E is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.129 H 304.3°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#3B105E
RGBrgb(59, 16, 94)
HSLhsl(273, 71%, 22%)
HSVhsv(273, 83%, 37%)
CMYKcmyk(37.2%, 83%, 0%, 63.1%)
CIE-LABlab(16.05, 35.91, -37.28)
CIE-LCHlch(16.05, 51.76, 313.93°)
OKLaboklab(29.26% 0.0726 -0.1062)
OKLCHoklch(29.26% 0.129 304.3)
XYZxyz(4.0088, 2.1086, 10.7833)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B105E #335E10
analogous
#14105E #3B105E #5E105A
triadic
#3B105E #5E3B10 #105E3B
tetradic
#3B105E #5E1410 #335E10 #105A5E
square
#3B105E #5E1410 #335E10 #105A5E
split-complementary
#3B105E #5A5E10 #105E14
monochromatic
#10041A #1A072A #3B105E #5C1992 #7D22C7

Accessibility & contrast

On white

14.77
#3B105E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B105E
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B105E#FFFFFF#000000##FFFFFF
##3B105E1.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002760
Deuteranopia (green-blind)
#00285C
Tritanopia (blue-blind)
#342437
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3b105e;
/* rgb */ color: rgb(59, 16, 94);
/* oklch */ color: oklch(29.3% 0.129 304.3);
Tailwind
colors: {
  custom: {
    50: '#75548c',
    500: '#3b105e',
    950: '#000000',
  },
}
SCSS
$custom: #3b105e;
$custom-light: #75548c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b105e",
  "rgb": {
    "r": 59,
    "g": 16,
    "b": 94
  },
  "hsl": {
    "h": 273.077,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29256,
    "c": 0.12866,
    "h": 304.3
  },
  "luminance": 0.02109
}

Semantic roles & 50–950 ramp

primary
#3B105E
secondary
#609733
accent
#EE3A8B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3B105E

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

Preview Lab → · Contrast checker → · Palette generator →

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