#3B1368#3B1368

#3B1368 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.137 H 299.3°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#3B1368
RGBrgb(59, 19, 104)
HSLhsl(268, 69%, 24%)
HSVhsv(268, 82%, 41%)
CMYKcmyk(43.3%, 81.7%, 0%, 59.2%)
CIE-LABlab(17.44, 37.22, -41.63)
CIE-LCHlch(17.44, 55.84, 311.80°)
OKLaboklab(30.51% 0.0669 -0.119)
OKLCHoklch(30.51% 0.137 299.3)
XYZxyz(4.5346, 2.3950, 13.3174)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1368 #406813
analogous
#131668 #3B1368 #661368
triadic
#3B1368 #683B13 #13683B
tetradic
#3B1368 #681316 #406813 #136866
square
#3B1368 #681316 #406813 #136866
split-complementary
#3B1368 #686613 #166813
monochromatic
#0F051A #1E0A34 #3B1368 #581C9C #7626CF

Accessibility & contrast

On white

14.20
#3B1368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B1368
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1368#FFFFFF#000000##FFFFFF
##3B13681.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6A
Deuteranopia (green-blind)
#002A66
Tritanopia (blue-blind)
#302A3D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3b1368;
/* rgb */ color: rgb(59, 19, 104);
/* oklch */ color: oklch(30.5% 0.137 299.3);
Tailwind
colors: {
  custom: {
    50: '#765694',
    500: '#3b1368',
    950: '#000000',
  },
}
SCSS
$custom: #3b1368;
$custom-light: #765694;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1368",
  "rgb": {
    "r": 59,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 268.235,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30515,
    "c": 0.13654,
    "h": 299.3
  },
  "luminance": 0.02395
}

Semantic roles & 50–950 ramp

primary
#3B1368
secondary
#6E9F37
accent
#EC3C99
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3B1368

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

Preview Lab → · Contrast checker → · Palette generator →

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