#3B1366#3B1366

#3B1366 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.134 H 300.2°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#3B1366
RGBrgb(59, 19, 102)
HSLhsl(269, 69%, 24%)
HSVhsv(269, 81%, 40%)
CMYKcmyk(42.2%, 81.4%, 0%, 60%)
CIE-LABlab(17.25, 36.68, -40.62)
CIE-LCHlch(17.25, 54.73, 312.08°)
OKLaboklab(30.33% 0.0675 -0.1161)
OKLCHoklch(30.33% 0.134 300.2)
XYZxyz(4.4342, 2.3548, 12.7887)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1366 #3E6613
analogous
#131466 #3B1366 #641366
triadic
#3B1366 #663B13 #13663B
tetradic
#3B1366 #661314 #3E6613 #136664
square
#3B1366 #661314 #3E6613 #136664
split-complementary
#3B1366 #666413 #146613
monochromatic
#0F051A #1D0932 #3B1366 #591D9A #7726CD

Accessibility & contrast

On white

14.28
#3B1366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3B1366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1366
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1366#FFFFFF#000000##FFFFFF
##3B13661.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A68
Deuteranopia (green-blind)
#002A64
Tritanopia (blue-blind)
#31293C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3b1366;
/* rgb */ color: rgb(59, 19, 102);
/* oklch */ color: oklch(30.3% 0.134 300.2);
Tailwind
colors: {
  custom: {
    50: '#765692',
    500: '#3b1366',
    950: '#000000',
  },
}
SCSS
$custom: #3b1366;
$custom-light: #765692;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1366",
  "rgb": {
    "r": 59,
    "g": 19,
    "b": 102
  },
  "hsl": {
    "h": 268.916,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30326,
    "c": 0.13426,
    "h": 300.2
  },
  "luminance": 0.02355
}

Semantic roles & 50–950 ramp

primary
#3B1366
secondary
#6C9D37
accent
#EB3C97
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3B1366

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

Preview Lab → · Contrast checker → · Palette generator →

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