#3B0C55#3B0C55

#3B0C55 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 28.0% C 0.123 H 309.6°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#3B0C55
RGBrgb(59, 12, 85)
HSLhsl(279, 75%, 19%)
HSVhsv(279, 86%, 33%)
CMYKcmyk(30.6%, 85.9%, 0%, 66.7%)
CIE-LABlab(14.67, 35.31, -33.46)
CIE-LCHlch(14.67, 48.65, 316.54°)
OKLaboklab(28.04% 0.0787 -0.095)
OKLCHoklch(28.04% 0.123 309.6)
XYZxyz(3.5745, 1.8487, 8.7611)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0C55 #26550C
analogous
#170C55 #3B0C55 #550C4B
triadic
#3B0C55 #553B0C #0C553B
tetradic
#3B0C55 #55170C #26550C #0C4B55
square
#3B0C55 #55170C #26550C #0C4B55
split-complementary
#3B0C55 #4B550C #0C5517
monochromatic
#13041B #16041F #3B0C55 #60148B #851BC0

Accessibility & contrast

On white

15.33
#3B0C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3B0C55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0C55
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0C55#FFFFFF#000000##FFFFFF
##3B0C551.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002357
Deuteranopia (green-blind)
#002654
Tritanopia (blue-blind)
#371F31
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3b0c55;
/* rgb */ color: rgb(59, 12, 85);
/* oklch */ color: oklch(28.0% 0.123 309.6);
Tailwind
colors: {
  custom: {
    50: '#755285',
    500: '#3b0c55',
    950: '#000000',
  },
}
SCSS
$custom: #3b0c55;
$custom-light: #755285;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0c55",
  "rgb": {
    "r": 59,
    "g": 12,
    "b": 85
  },
  "hsl": {
    "h": 278.63,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28042,
    "c": 0.12337,
    "h": 309.6
  },
  "luminance": 0.01849
}

Semantic roles & 50–950 ramp

primary
#3B0C55
secondary
#50902D
accent
#F23679
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3B0C55

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

Preview Lab → · Contrast checker → · Palette generator →

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