#3B2093#3B2093

#3B2093 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.174 H 284.5°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#3B2093
RGBrgb(59, 32, 147)
HSLhsl(254, 64%, 35%)
HSVhsv(254, 78%, 58%)
CMYKcmyk(59.9%, 78.2%, 0%, 42.4%)
CIE-LABlab(23.90, 43.29, -58.37)
CIE-LCHlch(23.90, 72.67, 306.56°)
OKLaboklab(36.33% 0.0434 -0.1682)
OKLCHoklch(36.33% 0.174 284.5)
XYZxyz(7.5850, 4.0689, 27.9838)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2093 #789320
analogous
#203E93 #3B2093 #752093
triadic
#3B2093 #933B20 #20933B
tetradic
#3B2093 #93203E #789320 #209375
square
#3B2093 #93203E #789320 #209375
split-complementary
#3B2093 #937520 #3E9320
monochromatic
#130A2E #271561 #3B2093 #4F2BC5 #7354DA

Accessibility & contrast

On white

11.58
#3B2093 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#3B2093 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2093
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2093#FFFFFF#000000##FFFFFF
##3B20931.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C96
Deuteranopia (green-blind)
#003591
Tritanopia (blue-blind)
#054159
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3b2093;
/* rgb */ color: rgb(59, 32, 147);
/* oklch */ color: oklch(36.3% 0.174 284.5);
Tailwind
colors: {
  custom: {
    50: '#7c5fb4',
    500: '#3b2093',
    950: '#000000',
  },
}
SCSS
$custom: #3b2093;
$custom-light: #7c5fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2093",
  "rgb": {
    "r": 59,
    "g": 32,
    "b": 147
  },
  "hsl": {
    "h": 254.087,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36331,
    "c": 0.1737,
    "h": 284.5
  },
  "luminance": 0.04069
}

Semantic roles & 50–950 ramp

primary
#3B2093
secondary
#A4BD52
accent
#E741C0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3B2093

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

Preview Lab → · Contrast checker → · Palette generator →

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