#3B0F55#3B0F55

#3B0F55 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.3% C 0.120 H 309.2°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#3B0F55
RGBrgb(59, 15, 85)
HSLhsl(278, 70%, 20%)
HSVhsv(278, 82%, 33%)
CMYKcmyk(30.6%, 82.4%, 0%, 66.7%)
CIE-LABlab(15.10, 34.07, -32.76)
CIE-LCHlch(15.10, 47.27, 316.12°)
OKLaboklab(28.34% 0.0758 -0.093)
OKLCHoklch(28.34% 0.12 309.2)
XYZxyz(3.6138, 1.9274, 8.7742)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0F55 #29550F
analogous
#180F55 #3B0F55 #550F4C
triadic
#3B0F55 #553B0F #0F553B
tetradic
#3B0F55 #55180F #29550F #0F4C55
square
#3B0F55 #55180F #29550F #0F4C55
split-complementary
#3B0F55 #4C550F #0F5518
monochromatic
#12051A #170621 #3B0F55 #5F1889 #8321BD

Accessibility & contrast

On white

15.16
#3B0F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0F55
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0F55#FFFFFF#000000##FFFFFF
##3B0F551.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002457
Deuteranopia (green-blind)
#002654
Tritanopia (blue-blind)
#372031
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3b0f55;
/* rgb */ color: rgb(59, 15, 85);
/* oklch */ color: oklch(28.3% 0.120 309.2);
Tailwind
colors: {
  custom: {
    50: '#745385',
    500: '#3b0f55',
    950: '#000000',
  },
}
SCSS
$custom: #3b0f55;
$custom-light: #745385;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0f55",
  "rgb": {
    "r": 59,
    "g": 15,
    "b": 85
  },
  "hsl": {
    "h": 277.714,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28344,
    "c": 0.11997,
    "h": 309.2
  },
  "luminance": 0.01927
}

Semantic roles & 50–950 ramp

primary
#3B0F55
secondary
#548F31
accent
#ED3B7D
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3B0F55

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

Preview Lab → · Contrast checker → · Palette generator →

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