#3B1468#3B1468

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

Color values

HEX#3B1468
RGBrgb(59, 20, 104)
HSLhsl(268, 68%, 24%)
HSVhsv(268, 81%, 41%)
CMYKcmyk(43.3%, 80.8%, 0%, 59.2%)
CIE-LABlab(17.60, 36.76, -41.37)
CIE-LCHlch(17.60, 55.34, 311.63°)
OKLaboklab(30.63% 0.066 -0.1183)
OKLCHoklch(30.63% 0.135 299.1)
XYZxyz(4.5518, 2.4295, 13.3231)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1468 #416814
analogous
#141768 #3B1468 #651468
triadic
#3B1468 #683B14 #14683B
tetradic
#3B1468 #681417 #416814 #146865
square
#3B1468 #681417 #416814 #146865
split-complementary
#3B1468 #686514 #176814
monochromatic
#0F051A #1E0A35 #3B1468 #581E9B #7528CF

Accessibility & contrast

On white

14.13
#3B1468 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B1468
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1468#FFFFFF#000000##FFFFFF
##3B14681.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.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: #3b1468;
/* rgb */ color: rgb(59, 20, 104);
/* oklch */ color: oklch(30.6% 0.135 299.1);
Tailwind
colors: {
  custom: {
    50: '#765694',
    500: '#3b1468',
    950: '#000000',
  },
}
SCSS
$custom: #3b1468;
$custom-light: #765694;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1468",
  "rgb": {
    "r": 59,
    "g": 20,
    "b": 104
  },
  "hsl": {
    "h": 267.857,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30627,
    "c": 0.13542,
    "h": 299.1
  },
  "luminance": 0.0243
}

Semantic roles & 50–950 ramp

primary
#3B1468
secondary
#709F39
accent
#EB3D9A
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3B1468

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

Preview Lab → · Contrast checker → · Palette generator →

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