#3B0F76#3B0F76

#3B0F76 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.156 H 294.7°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#3B0F76
RGBrgb(59, 15, 118)
HSLhsl(266, 77%, 26%)
HSVhsv(266, 87%, 46%)
CMYKcmyk(50%, 87.3%, 0%, 53.7%)
CIE-LABlab(18.27, 42.61, -49.35)
CIE-LCHlch(18.27, 65.20, 310.81°)
OKLaboklab(31.52% 0.065 -0.1416)
OKLCHoklch(31.52% 0.156 294.7)
XYZxyz(5.2436, 2.5793, 17.3576)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0F76 #4A760F
analogous
#0F1676 #3B0F76 #6E0F76
triadic
#3B0F76 #763B0F #0F763B
tetradic
#3B0F76 #760F16 #4A760F #0F766E
square
#3B0F76 #760F16 #4A760F #0F766E
split-complementary
#3B0F76 #766E0F #16760F
monochromatic
#0E031B #200840 #3B0F76 #5616AC #711DE2

Accessibility & contrast

On white

13.85
#3B0F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3B0F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0F76
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0F76#FFFFFF#000000##FFFFFF
##3B0F761.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002B74
Tritanopia (blue-blind)
#292E44
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3b0f76;
/* rgb */ color: rgb(59, 15, 118);
/* oklch */ color: oklch(31.5% 0.156 294.7);
Tailwind
colors: {
  custom: {
    50: '#78559e',
    500: '#3b0f76',
    950: '#000000',
  },
}
SCSS
$custom: #3b0f76;
$custom-light: #78559e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0f76",
  "rgb": {
    "r": 59,
    "g": 15,
    "b": 118
  },
  "hsl": {
    "h": 265.631,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31522,
    "c": 0.15585,
    "h": 294.7
  },
  "luminance": 0.02579
}

Semantic roles & 50–950 ramp

primary
#3B0F76
secondary
#79AD33
accent
#F434A2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030F
muted
#7C787E

Preview Lab

Preview with #3B0F76

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

Preview Lab → · Contrast checker → · Palette generator →

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