#3B1052#3B1052

#3B1052 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.2% C 0.115 H 310.8°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#3B1052
RGBrgb(59, 16, 82)
HSLhsl(279, 67%, 19%)
HSVhsv(279, 80%, 32%)
CMYKcmyk(28%, 80.5%, 0%, 67.8%)
CIE-LABlab(15.01, 32.88, -30.88)
CIE-LCHlch(15.01, 45.11, 316.80°)
OKLaboklab(28.2% 0.0754 -0.0874)
OKLCHoklch(28.2% 0.115 310.8)
XYZxyz(3.5116, 1.9097, 8.1646)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1052 #275210
analogous
#1A1052 #3B1052 #521048
triadic
#3B1052 #523B10 #10523B
tetradic
#3B1052 #521A10 #275210 #104852
square
#3B1052 #521A10 #275210 #104852
split-complementary
#3B1052 #485210 #10521A
monochromatic
#12051A #16061F #3B1052 #601A85 #8524B8

Accessibility & contrast

On white

15.20
#3B1052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3B1052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1052
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1052#FFFFFF#000000##FFFFFF
##3B10521.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002454
Deuteranopia (green-blind)
#042651
Tritanopia (blue-blind)
#381F30
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3b1052;
/* rgb */ color: rgb(59, 16, 82);
/* oklch */ color: oklch(28.2% 0.115 310.8);
Tailwind
colors: {
  custom: {
    50: '#745383',
    500: '#3b1052',
    950: '#000000',
  },
}
SCSS
$custom: #3b1052;
$custom-light: #745383;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1052",
  "rgb": {
    "r": 59,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 279.091,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28197,
    "c": 0.11545,
    "h": 310.8
  },
  "luminance": 0.0191
}

Semantic roles & 50–950 ramp

primary
#3B1052
secondary
#518C32
accent
#EA3E7A
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #3B1052

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

Preview Lab → · Contrast checker → · Palette generator →

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