#3A136A#3A136A

#3A136A is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.139 H 297.8°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#3A136A
RGBrgb(58, 19, 106)
HSLhsl(267, 70%, 25%)
HSVhsv(267, 82%, 42%)
CMYKcmyk(45.3%, 82.1%, 0%, 58.4%)
CIE-LABlab(17.49, 37.59, -42.86)
CIE-LCHlch(17.49, 57.01, 311.25°)
OKLaboklab(30.58% 0.0646 -0.1227)
OKLCHoklch(30.58% 0.139 297.8)
XYZxyz(4.5786, 2.4058, 13.8560)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A136A #436A13
analogous
#13176A #3A136A #66136A
triadic
#3A136A #6A3A13 #136A3A
tetradic
#3A136A #6A1317 #436A13 #136A66
square
#3A136A #6A1317 #436A13 #136A66
split-complementary
#3A136A #6A6613 #176A13
monochromatic
#0E051A #1E0A36 #3A136A #561C9E #7326D2

Accessibility & contrast

On white

14.18
#3A136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3A136A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A136A
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A136A#FFFFFF#000000##FFFFFF
##3A136A1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6C
Deuteranopia (green-blind)
#002A68
Tritanopia (blue-blind)
#2E2B3E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3a136a;
/* rgb */ color: rgb(58, 19, 106);
/* oklch */ color: oklch(30.6% 0.139 297.8);
Tailwind
colors: {
  custom: {
    50: '#765695',
    500: '#3a136a',
    950: '#000000',
  },
}
SCSS
$custom: #3a136a;
$custom-light: #765695;
$custom-dark: #000000;
JSON
{
  "hex": "#3a136a",
  "rgb": {
    "r": 58,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 266.897,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30579,
    "c": 0.13868,
    "h": 297.8
  },
  "luminance": 0.02406
}

Semantic roles & 50–950 ramp

primary
#3A136A
secondary
#72A138
accent
#EC3B9D
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3A136A

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

Preview Lab → · Contrast checker → · Palette generator →

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