#3B0F53#3B0F53

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

Color values

HEX#3B0F53
RGBrgb(59, 15, 83)
HSLhsl(279, 69%, 19%)
HSVhsv(279, 82%, 33%)
CMYKcmyk(28.9%, 81.9%, 0%, 67.5%)
CIE-LABlab(14.93, 33.58, -31.68)
CIE-LCHlch(14.93, 46.16, 316.67°)
OKLaboklab(28.17% 0.0763 -0.0898)
OKLCHoklch(28.17% 0.118 310.3)
XYZxyz(3.5355, 1.8961, 8.3617)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0F53 #27530F
analogous
#190F53 #3B0F53 #530F49
triadic
#3B0F53 #533B0F #0F533B
tetradic
#3B0F53 #53190F #27530F #0F4953
square
#3B0F53 #53190F #27530F #0F4953
split-complementary
#3B0F53 #49530F #0F5319
monochromatic
#12051A #16061F #3B0F53 #601887 #8522BB

Accessibility & contrast

On white

15.23
#3B0F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0F53
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0F53#FFFFFF#000000##FFFFFF
##3B0F531.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b0f53;
/* rgb */ color: rgb(59, 15, 83);
/* oklch */ color: oklch(28.2% 0.118 310.3);
Tailwind
colors: {
  custom: {
    50: '#745384',
    500: '#3b0f53',
    950: '#000000',
  },
}
SCSS
$custom: #3b0f53;
$custom-light: #745384;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0f53",
  "rgb": {
    "r": 59,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 278.824,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28171,
    "c": 0.1178,
    "h": 310.3
  },
  "luminance": 0.01896
}

Semantic roles & 50–950 ramp

primary
#3B0F53
secondary
#518D31
accent
#EC3C7A
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #3B0F53

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

Preview Lab → · Contrast checker → · Palette generator →

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