#3A2093#3A2093

#3A2093 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.174 H 283.9°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#3A2093
RGBrgb(58, 32, 147)
HSLhsl(254, 64%, 35%)
HSVhsv(254, 78%, 58%)
CMYKcmyk(60.5%, 78.2%, 0%, 42.4%)
CIE-LABlab(23.80, 43.16, -58.54)
CIE-LCHlch(23.80, 72.73, 306.40°)
OKLaboklab(36.24% 0.0419 -0.1687)
OKLCHoklch(36.24% 0.174 283.9)
XYZxyz(7.5263, 4.0387, 27.9810)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2093 #799320
analogous
#204093 #3A2093 #732093
triadic
#3A2093 #933A20 #20933A
tetradic
#3A2093 #932040 #799320 #209373
square
#3A2093 #932040 #799320 #209373
split-complementary
#3A2093 #937320 #409320
monochromatic
#120A2E #261561 #3A2093 #4E2BC5 #7254DA

Accessibility & contrast

On white

11.62
#3A2093 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A2093
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2093#FFFFFF#000000##FFFFFF
##3A20931.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a2093;
/* rgb */ color: rgb(58, 32, 147);
/* oklch */ color: oklch(36.2% 0.174 283.9);
Tailwind
colors: {
  custom: {
    50: '#7c5fb4',
    500: '#3a2093',
    950: '#000000',
  },
}
SCSS
$custom: #3a2093;
$custom-light: #7c5fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2093",
  "rgb": {
    "r": 58,
    "g": 32,
    "b": 147
  },
  "hsl": {
    "h": 253.565,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36238,
    "c": 0.17383,
    "h": 283.9
  },
  "luminance": 0.04039
}

Semantic roles & 50–950 ramp

primary
#3A2093
secondary
#A5BD52
accent
#E741C2
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3A2093

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

Preview Lab → · Contrast checker → · Palette generator →

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