#3A205E#3A205E

#3A205E is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.3% C 0.106 H 299.5°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#3A205E
RGBrgb(58, 32, 94)
HSLhsl(265, 49%, 25%)
HSVhsv(265, 66%, 37%)
CMYKcmyk(38.3%, 66%, 0%, 63.1%)
CIE-LABlab(18.97, 27.15, -32.54)
CIE-LCHlch(18.97, 42.38, 309.84°)
OKLaboklab(31.32% 0.0524 -0.0924)
OKLCHoklch(31.32% 0.106 299.5)
XYZxyz(4.2813, 2.7407, 10.8909)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A205E #445E20
analogous
#20255E #3A205E #59205E
triadic
#3A205E #5E3A20 #205E3A
tetradic
#3A205E #5E2025 #445E20 #205E59
square
#3A205E #5E2025 #445E20 #205E59
split-complementary
#3A205E #5E5920 #255E20
monochromatic
#0E0817 #1E1030 #3A205E #56308C #723FB9

Accessibility & contrast

On white

13.56
#3A205E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#3A205E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A205E
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A205E#FFFFFF#000000##FFFFFF
##3A205E1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E60
Deuteranopia (green-blind)
#082E5D
Tritanopia (blue-blind)
#322D3B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3a205e;
/* rgb */ color: rgb(58, 32, 94);
/* oklch */ color: oklch(31.3% 0.106 299.5);
Tailwind
colors: {
  custom: {
    50: '#735d8c',
    500: '#3a205e',
    950: '#000000',
  },
}
SCSS
$custom: #3a205e;
$custom-light: #735d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a205e",
  "rgb": {
    "r": 58,
    "g": 32,
    "b": 94
  },
  "hsl": {
    "h": 265.161,
    "s": 49.206,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31315,
    "c": 0.10624,
    "h": 299.5
  },
  "luminance": 0.02741
}

Semantic roles & 50–950 ramp

primary
#3A205E
secondary
#739247
accent
#D94F9F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #3A205E

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

Preview Lab → · Contrast checker → · Palette generator →

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