#3B1673#3B1673

#3B1673 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.9% C 0.146 H 294.6°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#3B1673
RGBrgb(59, 22, 115)
HSLhsl(264, 68%, 27%)
HSVhsv(264, 81%, 45%)
CMYKcmyk(48.7%, 80.9%, 0%, 54.9%)
CIE-LABlab(18.98, 38.86, -46.26)
CIE-LCHlch(18.98, 60.42, 310.03°)
OKLaboklab(31.92% 0.0609 -0.1327)
OKLCHoklch(31.92% 0.146 294.6)
XYZxyz(5.1842, 2.7413, 16.4723)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1673 #4E7316
analogous
#162073 #3B1673 #6A1673
triadic
#3B1673 #733B16 #16733B
tetradic
#3B1673 #731620 #4E7316 #16736A
square
#3B1673 #731620 #4E7316 #16736A
split-complementary
#3B1673 #736A16 #207316
monochromatic
#0D051A #210C40 #3B1673 #5520A6 #702DD7

Accessibility & contrast

On white

13.56
#3B1673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#3B1673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1673
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1673#FFFFFF#000000##FFFFFF
##3B16731.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F76
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#2A3044
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3b1673;
/* rgb */ color: rgb(59, 22, 115);
/* oklch */ color: oklch(31.9% 0.146 294.6);
Tailwind
colors: {
  custom: {
    50: '#78589c',
    500: '#3b1673',
    950: '#000000',
  },
}
SCSS
$custom: #3b1673;
$custom-light: #78589c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1673",
  "rgb": {
    "r": 59,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 263.871,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31916,
    "c": 0.14596,
    "h": 294.6
  },
  "luminance": 0.02741
}

Semantic roles & 50–950 ramp

primary
#3B1673
secondary
#7EA93C
accent
#EB3DA6
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3B1673

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

Preview Lab → · Contrast checker → · Palette generator →

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