#3A2092#3A2092

#3A2092 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.173 H 284.1°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#3A2092
RGBrgb(58, 32, 146)
HSLhsl(254, 64%, 35%)
HSVhsv(254, 78%, 57%)
CMYKcmyk(60.3%, 78.1%, 0%, 42.7%)
CIE-LABlab(23.70, 42.86, -58.09)
CIE-LCHlch(23.70, 72.19, 306.42°)
OKLaboklab(36.14% 0.0422 -0.1674)
OKLCHoklch(36.14% 0.173 284.1)
XYZxyz(7.4481, 4.0074, 27.5696)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2092 #789220
analogous
#203F92 #3A2092 #732092
triadic
#3A2092 #923A20 #20923A
tetradic
#3A2092 #92203F #789220 #209273
square
#3A2092 #92203F #789220 #209273
split-complementary
#3A2092 #927320 #3F9220
monochromatic
#120A2E #261560 #3A2092 #4E2BC4 #7253D9

Accessibility & contrast

On white

11.66
#3A2092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#3A2092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2092
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2092#FFFFFF#000000##FFFFFF
##3A20921.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003590
Tritanopia (blue-blind)
#024158
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3a2092;
/* rgb */ color: rgb(58, 32, 146);
/* oklch */ color: oklch(36.1% 0.173 284.1);
Tailwind
colors: {
  custom: {
    50: '#7c5fb3',
    500: '#3a2092',
    950: '#000000',
  },
}
SCSS
$custom: #3a2092;
$custom-light: #7c5fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2092",
  "rgb": {
    "r": 58,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 253.684,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36135,
    "c": 0.17262,
    "h": 284.1
  },
  "luminance": 0.04008
}

Semantic roles & 50–950 ramp

primary
#3A2092
secondary
#A4BD51
accent
#E741C1
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3A2092

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

Preview Lab → · Contrast checker → · Palette generator →

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