#3B1367#3B1367

#3B1367 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.135 H 299.7°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#3B1367
RGBrgb(59, 19, 103)
HSLhsl(269, 69%, 24%)
HSVhsv(269, 82%, 40%)
CMYKcmyk(42.7%, 81.6%, 0%, 59.6%)
CIE-LABlab(17.34, 36.95, -41.12)
CIE-LCHlch(17.34, 55.29, 311.94°)
OKLaboklab(30.42% 0.0672 -0.1176)
OKLCHoklch(30.42% 0.135 299.7)
XYZxyz(4.4841, 2.3748, 13.0515)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1367 #3F6713
analogous
#131567 #3B1367 #651367
triadic
#3B1367 #673B13 #13673B
tetradic
#3B1367 #671315 #3F6713 #136765
square
#3B1367 #671315 #3F6713 #136765
split-complementary
#3B1367 #676513 #156713
monochromatic
#0F051A #1D0933 #3B1367 #591D9B #7626CE

Accessibility & contrast

On white

14.24
#3B1367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3B1367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1367
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1367#FFFFFF#000000##FFFFFF
##3B13671.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A69
Deuteranopia (green-blind)
#002A65
Tritanopia (blue-blind)
#31293D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3b1367;
/* rgb */ color: rgb(59, 19, 103);
/* oklch */ color: oklch(30.4% 0.135 299.7);
Tailwind
colors: {
  custom: {
    50: '#765693',
    500: '#3b1367',
    950: '#000000',
  },
}
SCSS
$custom: #3b1367;
$custom-light: #765693;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1367",
  "rgb": {
    "r": 59,
    "g": 19,
    "b": 103
  },
  "hsl": {
    "h": 268.571,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3042,
    "c": 0.1354,
    "h": 299.7
  },
  "luminance": 0.02375
}

Semantic roles & 50–950 ramp

primary
#3B1367
secondary
#6D9E37
accent
#EC3C98
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3B1367

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

Preview Lab → · Contrast checker → · Palette generator →

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