#3B1073#3B1073

#3B1073 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.3% C 0.152 H 295.6°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#3B1073
RGBrgb(59, 16, 115)
HSLhsl(266, 76%, 26%)
HSVhsv(266, 86%, 45%)
CMYKcmyk(48.7%, 86.1%, 0%, 54.9%)
CIE-LABlab(18.09, 41.43, -47.72)
CIE-LCHlch(18.09, 63.20, 310.97°)
OKLaboklab(31.3% 0.0655 -0.1369)
OKLCHoklch(31.3% 0.152 295.6)
XYZxyz(5.0826, 2.5381, 16.4384)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1073 #487310
analogous
#101673 #3B1073 #6C1073
triadic
#3B1073 #733B10 #10733B
tetradic
#3B1073 #731016 #487310 #10736C
square
#3B1073 #731016 #487310 #10736C
split-complementary
#3B1073 #736C10 #167310
monochromatic
#0E041B #1F093D #3B1073 #5717A9 #721FDE

Accessibility & contrast

On white

13.93
#3B1073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#3B1073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1073
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1073#FFFFFF#000000##FFFFFF
##3B10731.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D76
Deuteranopia (green-blind)
#002B71
Tritanopia (blue-blind)
#2B2D43
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3b1073;
/* rgb */ color: rgb(59, 16, 115);
/* oklch */ color: oklch(31.3% 0.152 295.6);
Tailwind
colors: {
  custom: {
    50: '#78559c',
    500: '#3b1073',
    950: '#000000',
  },
}
SCSS
$custom: #3b1073;
$custom-light: #78559c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1073",
  "rgb": {
    "r": 59,
    "g": 16,
    "b": 115
  },
  "hsl": {
    "h": 266.061,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31301,
    "c": 0.15174,
    "h": 295.6
  },
  "luminance": 0.02538
}

Semantic roles & 50–950 ramp

primary
#3B1073
secondary
#77AA34
accent
#F236A0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3B1073

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

Preview Lab → · Contrast checker → · Palette generator →

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