#3A206F#3A206F

#3A206F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.8% C 0.129 H 293.0°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#3A206F
RGBrgb(58, 32, 111)
HSLhsl(260, 55%, 28%)
HSVhsv(260, 71%, 44%)
CMYKcmyk(47.7%, 71.2%, 0%, 56.5%)
CIE-LABlab(20.36, 32.22, -41.42)
CIE-LCHlch(20.36, 52.48, 307.88°)
OKLaboklab(32.75% 0.0504 -0.1185)
OKLCHoklch(32.75% 0.129 293)
XYZxyz(5.1299, 3.0801, 15.3601)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A206F #556F20
analogous
#202D6F #3A206F #61206F
triadic
#3A206F #6F3A20 #206F3A
tetradic
#3A206F #6F202D #556F20 #206F61
square
#3A206F #6F202D #556F20 #206F61
split-complementary
#3A206F #6F6120 #2D6F20
monochromatic
#0C0718 #21123F #3A206F #532E9F #6E41C8

Accessibility & contrast

On white

13.00
#3A206F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#3A206F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A206F
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A206F#FFFFFF#000000##FFFFFF
##3A206F1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#00306D
Tritanopia (blue-blind)
#2A3344
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3a206f;
/* rgb */ color: rgb(58, 32, 111);
/* oklch */ color: oklch(32.8% 0.129 293.0);
Tailwind
colors: {
  custom: {
    50: '#765d99',
    500: '#3a206f',
    950: '#000000',
  },
}
SCSS
$custom: #3a206f;
$custom-light: #765d99;
$custom-dark: #000000;
JSON
{
  "hex": "#3a206f",
  "rgb": {
    "r": 58,
    "g": 32,
    "b": 111
  },
  "hsl": {
    "h": 259.747,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32754,
    "c": 0.12882,
    "h": 293
  },
  "luminance": 0.0308
}

Semantic roles & 50–950 ramp

primary
#3A206F
secondary
#85A348
accent
#DF49AD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3A206F

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

Preview Lab → · Contrast checker → · Palette generator →

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