#3B1066#3B1066

#3B1066 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.137 H 300.7°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#3B1066
RGBrgb(59, 16, 102)
HSLhsl(270, 73%, 23%)
HSVhsv(270, 84%, 40%)
CMYKcmyk(42.2%, 84.3%, 0%, 60%)
CIE-LABlab(16.80, 37.99, -41.36)
CIE-LCHlch(16.80, 56.16, 312.57°)
OKLaboklab(30.01% 0.0701 -0.1182)
OKLCHoklch(30.01% 0.137 300.7)
XYZxyz(4.3866, 2.2597, 12.7728)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1066 #3B6610
analogous
#101066 #3B1066 #661066
triadic
#3B1066 #663B10 #10663B
tetradic
#3B1066 #661010 #3B6610 #106666
square
#3B1066 #661010 #3B6610 #106666
split-complementary
#3B1066 #666610 #106610
monochromatic
#0F041A #1C0831 #3B1066 #5A189B #7821D0

Accessibility & contrast

On white

14.46
#3B1066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3B1066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1066
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1066#FFFFFF#000000##FFFFFF
##3B10661.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002968
Deuteranopia (green-blind)
#002964
Tritanopia (blue-blind)
#31283B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3b1066;
/* rgb */ color: rgb(59, 16, 102);
/* oklch */ color: oklch(30.0% 0.137 300.7);
Tailwind
colors: {
  custom: {
    50: '#765492',
    500: '#3b1066',
    950: '#000000',
  },
}
SCSS
$custom: #3b1066;
$custom-light: #765492;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1066",
  "rgb": {
    "r": 59,
    "g": 16,
    "b": 102
  },
  "hsl": {
    "h": 270,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30009,
    "c": 0.13747,
    "h": 300.7
  },
  "luminance": 0.0226
}

Semantic roles & 50–950 ramp

primary
#3B1066
secondary
#699E33
accent
#F03894
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3B1066

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

Preview Lab → · Contrast checker → · Palette generator →

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