#3B1055#3B1055

#3B1055 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.5% C 0.119 H 309.0°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#3B1055
RGBrgb(59, 16, 85)
HSLhsl(277, 68%, 20%)
HSVhsv(277, 81%, 33%)
CMYKcmyk(30.6%, 81.2%, 0%, 66.7%)
CIE-LABlab(15.26, 33.63, -32.51)
CIE-LCHlch(15.26, 46.78, 315.97°)
OKLaboklab(28.45% 0.0748 -0.0922)
OKLCHoklch(28.45% 0.119 309)
XYZxyz(3.6283, 1.9563, 8.7790)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1055 #2A5510
analogous
#181055 #3B1055 #55104D
triadic
#3B1055 #553B10 #10553B
tetradic
#3B1055 #551810 #2A5510 #104D55
square
#3B1055 #551810 #2A5510 #104D55
split-complementary
#3B1055 #4D5510 #105518
monochromatic
#12051A #170621 #3B1055 #5F1A89 #8323BC

Accessibility & contrast

On white

15.09
#3B1055 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3B1055 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1055
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1055#FFFFFF#000000##FFFFFF
##3B10551.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002557
Deuteranopia (green-blind)
#002754
Tritanopia (blue-blind)
#372032
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3b1055;
/* rgb */ color: rgb(59, 16, 85);
/* oklch */ color: oklch(28.5% 0.119 309.0);
Tailwind
colors: {
  custom: {
    50: '#745385',
    500: '#3b1055',
    950: '#000000',
  },
}
SCSS
$custom: #3b1055;
$custom-light: #745385;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1055",
  "rgb": {
    "r": 59,
    "g": 16,
    "b": 85
  },
  "hsl": {
    "h": 277.391,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28453,
    "c": 0.11875,
    "h": 309
  },
  "luminance": 0.01956
}

Semantic roles & 50–950 ramp

primary
#3B1055
secondary
#558F32
accent
#EB3D7E
background
#F7F4F8
surface
#EDE8EF
border
#C8C4CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #3B1055

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

Preview Lab → · Contrast checker → · Palette generator →

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