#3B105F#3B105F

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

Color values

HEX#3B105F
RGBrgb(59, 16, 95)
HSLhsl(273, 71%, 22%)
HSVhsv(273, 83%, 37%)
CMYKcmyk(37.9%, 83.2%, 0%, 62.7%)
CIE-LABlab(16.14, 36.17, -37.80)
CIE-LCHlch(16.14, 52.32, 313.74°)
OKLaboklab(29.35% 0.0723 -0.1078)
OKLCHoklch(29.35% 0.13 303.8)
XYZxyz(4.0540, 2.1266, 11.0212)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B105F #345F10
analogous
#14105F #3B105F #5F105C
triadic
#3B105F #5F3B10 #105F3B
tetradic
#3B105F #5F1410 #345F10 #105C5F
square
#3B105F #5F1410 #345F10 #105C5F
split-complementary
#3B105F #5C5F10 #105F14
monochromatic
#10041A #1A072B #3B105F #5C1993 #7C22C8

Accessibility & contrast

On white

14.73
#3B105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#3B105F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B105F
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B105F#FFFFFF#000000##FFFFFF
##3B105F1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002761
Deuteranopia (green-blind)
#00285D
Tritanopia (blue-blind)
#342537
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3b105f;
/* rgb */ color: rgb(59, 16, 95);
/* oklch */ color: oklch(29.3% 0.130 303.8);
Tailwind
colors: {
  custom: {
    50: '#75548d',
    500: '#3b105f',
    950: '#000000',
  },
}
SCSS
$custom: #3b105f;
$custom-light: #75548d;
$custom-dark: #000000;
JSON
{
  "hex": "#3b105f",
  "rgb": {
    "r": 59,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 272.658,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29348,
    "c": 0.12976,
    "h": 303.8
  },
  "luminance": 0.02127
}

Semantic roles & 50–950 ramp

primary
#3B105F
secondary
#619833
accent
#EE3A8C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3B105F

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

Preview Lab → · Contrast checker → · Palette generator →

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