#3A2290#3A2290

#3A2290 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.168 H 284.2°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#3A2290
RGBrgb(58, 34, 144)
HSLhsl(253, 62%, 35%)
HSVhsv(253, 76%, 56%)
CMYKcmyk(59.7%, 76.4%, 0%, 43.5%)
CIE-LABlab(23.86, 41.21, -56.58)
CIE-LCHlch(23.86, 70.00, 306.07°)
OKLaboklab(36.19% 0.0413 -0.163)
OKLCHoklch(36.19% 0.168 284.2)
XYZxyz(7.3494, 4.0567, 26.7759)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2290 #789022
analogous
#224190 #3A2290 #712290
triadic
#3A2290 #903A22 #22903A
tetradic
#3A2290 #902241 #789022 #229071
square
#3A2290 #902241 #789022 #229071
split-complementary
#3A2290 #907122 #419022
monochromatic
#120B2D #26165E #3A2290 #4E2EC2 #7255D7

Accessibility & contrast

On white

11.59
#3A2290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A2290
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2290#FFFFFF#000000##FFFFFF
##3A22901.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#074157
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3a2290;
/* rgb */ color: rgb(58, 34, 144);
/* oklch */ color: oklch(36.2% 0.168 284.2);
Tailwind
colors: {
  custom: {
    50: '#7b60b2',
    500: '#3a2290',
    950: '#000000',
  },
}
SCSS
$custom: #3a2290;
$custom-light: #7b60b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2290",
  "rgb": {
    "r": 58,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 253.091,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36187,
    "c": 0.16815,
    "h": 284.2
  },
  "luminance": 0.04057
}

Semantic roles & 50–950 ramp

primary
#3A2290
secondary
#A4BB53
accent
#E543C2
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #3A2290

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

Preview Lab → · Contrast checker → · Palette generator →

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