#3A2094#3A2094

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

Color values

HEX#3A2094
RGBrgb(58, 32, 148)
HSLhsl(253, 64%, 35%)
HSVhsv(253, 78%, 58%)
CMYKcmyk(60.8%, 78.4%, 0%, 42%)
CIE-LABlab(23.90, 43.46, -58.98)
CIE-LCHlch(23.90, 73.27, 306.39°)
OKLaboklab(36.34% 0.0416 -0.17)
OKLCHoklch(36.34% 0.175 283.7)
XYZxyz(7.6051, 4.0702, 28.3961)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2094 #7A9420
analogous
#204094 #3A2094 #742094
triadic
#3A2094 #943A20 #20943A
tetradic
#3A2094 #942040 #7A9420 #209474
square
#3A2094 #942040 #7A9420 #209474
split-complementary
#3A2094 #947420 #409420
monochromatic
#130A2F #261562 #3A2094 #4E2BC6 #7254DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A2094#FFFFFF#000000##FFFFFF
##3A20941.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)
#003C97
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3a2094;
/* rgb */ color: rgb(58, 32, 148);
/* oklch */ color: oklch(36.3% 0.175 283.7);
Tailwind
colors: {
  custom: {
    50: '#7c5fb5',
    500: '#3a2094',
    950: '#000000',
  },
}
SCSS
$custom: #3a2094;
$custom-light: #7c5fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2094",
  "rgb": {
    "r": 58,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 253.448,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36341,
    "c": 0.17502,
    "h": 283.7
  },
  "luminance": 0.04071
}

Semantic roles & 50–950 ramp

primary
#3A2094
secondary
#A6BE52
accent
#E740C2
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3A2094

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

Preview Lab → · Contrast checker → · Palette generator →

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