#3B1567#3B1567

#3B1567 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.133 H 299.4°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#3B1567
RGBrgb(59, 21, 103)
HSLhsl(268, 66%, 24%)
HSVhsv(268, 80%, 40%)
CMYKcmyk(42.7%, 79.6%, 0%, 59.6%)
CIE-LABlab(17.67, 36.01, -40.59)
CIE-LCHlch(17.67, 54.26, 311.58°)
OKLaboklab(30.65% 0.0653 -0.116)
OKLCHoklch(30.65% 0.133 299.4)
XYZxyz(4.5194, 2.4454, 13.0632)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1567 #416715
analogous
#151867 #3B1567 #641567
triadic
#3B1567 #673B15 #15673B
tetradic
#3B1567 #671518 #416715 #156764
square
#3B1567 #671518 #416715 #156764
split-complementary
#3B1567 #676415 #186715
monochromatic
#0F0519 #1E0B34 #3B1567 #581F9A #752ACD

Accessibility & contrast

On white

14.10
#3B1567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3B1567 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1567
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1567#FFFFFF#000000##FFFFFF
##3B15671.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b1567;
/* rgb */ color: rgb(59, 21, 103);
/* oklch */ color: oklch(30.6% 0.133 299.4);
Tailwind
colors: {
  custom: {
    50: '#765793',
    500: '#3b1567',
    950: '#000000',
  },
}
SCSS
$custom: #3b1567;
$custom-light: #765793;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1567",
  "rgb": {
    "r": 59,
    "g": 21,
    "b": 103
  },
  "hsl": {
    "h": 267.805,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3065,
    "c": 0.13311,
    "h": 299.4
  },
  "luminance": 0.02445
}

Semantic roles & 50–950 ramp

primary
#3B1567
secondary
#709E3A
accent
#E93F9A
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3B1567

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

Preview Lab → · Contrast checker → · Palette generator →

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