#3B0C53#3B0C53

#3B0C53 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.9% C 0.121 H 310.8°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#3B0C53
RGBrgb(59, 12, 83)
HSLhsl(280, 75%, 19%)
HSVhsv(280, 86%, 33%)
CMYKcmyk(28.9%, 85.5%, 0%, 67.5%)
CIE-LABlab(14.50, 34.83, -32.38)
CIE-LCHlch(14.50, 47.56, 317.08°)
OKLaboklab(27.87% 0.0792 -0.0918)
OKLCHoklch(27.87% 0.121 310.8)
XYZxyz(3.4961, 1.8174, 8.3486)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0C53 #24530C
analogous
#170C53 #3B0C53 #530C47
triadic
#3B0C53 #533B0C #0C533B
tetradic
#3B0C53 #53170C #24530C #0C4753
square
#3B0C53 #53170C #24530C #0C4753
split-complementary
#3B0C53 #47530C #0C5317
monochromatic
#13041B #15041E #3B0C53 #611488 #871BBE

Accessibility & contrast

On white

15.40
#3B0C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3B0C53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0C53
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0C53#FFFFFF#000000##FFFFFF
##3B0C531.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002355
Deuteranopia (green-blind)
#002552
Tritanopia (blue-blind)
#381E30
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3b0c53;
/* rgb */ color: rgb(59, 12, 83);
/* oklch */ color: oklch(27.9% 0.121 310.8);
Tailwind
colors: {
  custom: {
    50: '#745184',
    500: '#3b0c53',
    950: '#000000',
  },
}
SCSS
$custom: #3b0c53;
$custom-light: #745184;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0c53",
  "rgb": {
    "r": 59,
    "g": 12,
    "b": 83
  },
  "hsl": {
    "h": 279.718,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.27866,
    "c": 0.12129,
    "h": 310.8
  },
  "luminance": 0.01817
}

Semantic roles & 50–950 ramp

primary
#3B0C53
secondary
#4E8E2D
accent
#F13676
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3B0C53

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

Preview Lab → · Contrast checker → · Palette generator →

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