#3B1365#3B1365

#3B1365 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.133 H 300.6°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#3B1365
RGBrgb(59, 19, 101)
HSLhsl(269, 68%, 24%)
HSVhsv(269, 81%, 40%)
CMYKcmyk(41.6%, 81.2%, 0%, 60.4%)
CIE-LABlab(17.16, 36.41, -40.11)
CIE-LCHlch(17.16, 54.18, 312.23°)
OKLaboklab(30.23% 0.0677 -0.1146)
OKLCHoklch(30.23% 0.133 300.6)
XYZxyz(4.3849, 2.3351, 12.5291)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1365 #3D6513
analogous
#131465 #3B1365 #641365
triadic
#3B1365 #653B13 #13653B
tetradic
#3B1365 #651314 #3D6513 #136564
square
#3B1365 #651314 #3D6513 #136564
split-complementary
#3B1365 #656413 #146513
monochromatic
#0F051A #1D0931 #3B1365 #591D99 #7726CC

Accessibility & contrast

On white

14.31
#3B1365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B1365
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1365#FFFFFF#000000##FFFFFF
##3B13651.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A67
Deuteranopia (green-blind)
#002A63
Tritanopia (blue-blind)
#31293B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3b1365;
/* rgb */ color: rgb(59, 19, 101);
/* oklch */ color: oklch(30.2% 0.133 300.6);
Tailwind
colors: {
  custom: {
    50: '#765692',
    500: '#3b1365',
    950: '#000000',
  },
}
SCSS
$custom: #3b1365;
$custom-light: #765692;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1365",
  "rgb": {
    "r": 59,
    "g": 19,
    "b": 101
  },
  "hsl": {
    "h": 269.268,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30232,
    "c": 0.13312,
    "h": 300.6
  },
  "luminance": 0.02335
}

Semantic roles & 50–950 ramp

primary
#3B1365
secondary
#6B9D37
accent
#EB3D96
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3B1365

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

Preview Lab → · Contrast checker → · Palette generator →

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