#3A205A#3A205A

#3A205A is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.0% C 0.101 H 301.4°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#3A205A
RGBrgb(58, 32, 90)
HSLhsl(267, 48%, 24%)
HSVhsv(267, 64%, 35%)
CMYKcmyk(35.6%, 64.4%, 0%, 64.7%)
CIE-LABlab(18.67, 25.99, -30.36)
CIE-LCHlch(18.67, 39.97, 310.57°)
OKLaboklab(31% 0.0525 -0.086)
OKLCHoklch(31% 0.101 301.4)
XYZxyz(4.1065, 2.6707, 9.9700)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A205A #405A20
analogous
#20235A #3A205A #57205A
triadic
#3A205A #5A3A20 #205A3A
tetradic
#3A205A #5A2023 #405A20 #205A57
square
#3A205A #5A2023 #405A20 #205A57
split-complementary
#3A205A #5A5720 #235A20
monochromatic
#0F0817 #1D102D #3A205A #573087 #7440B4

Accessibility & contrast

On white

13.69
#3A205A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3A205A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A205A
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A205A#FFFFFF#000000##FFFFFF
##3A205A1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022D5C
Deuteranopia (green-blind)
#0F2D59
Tritanopia (blue-blind)
#342C39
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3a205a;
/* rgb */ color: rgb(58, 32, 90);
/* oklch */ color: oklch(31.0% 0.101 301.4);
Tailwind
colors: {
  custom: {
    50: '#735d89',
    500: '#3a205a',
    950: '#000000',
  },
}
SCSS
$custom: #3a205a;
$custom-light: #735d89;
$custom-dark: #000000;
JSON
{
  "hex": "#3a205a",
  "rgb": {
    "r": 58,
    "g": 32,
    "b": 90
  },
  "hsl": {
    "h": 266.897,
    "s": 47.541,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31001,
    "c": 0.10081,
    "h": 301.4
  },
  "luminance": 0.02671
}

Semantic roles & 50–950 ramp

primary
#3A205A
secondary
#6F8E47
accent
#D7519B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040B
muted
#7B797C

Preview Lab

Preview with #3A205A

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

Preview Lab → · Contrast checker → · Palette generator →

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