#3A246A#3A246A

#3A246A is a dark, moderate violet. Relative luminance 0.032; OKLCH L 33.0% C 0.116 H 293.5°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#3A246A
RGBrgb(58, 36, 106)
HSLhsl(259, 49%, 28%)
HSVhsv(259, 66%, 42%)
CMYKcmyk(45.3%, 66%, 0%, 58.4%)
CIE-LABlab(20.83, 28.28, -37.41)
CIE-LCHlch(20.83, 46.90, 307.09°)
OKLaboklab(32.97% 0.0463 -0.1068)
OKLCHoklch(32.97% 0.116 293.5)
XYZxyz(4.9766, 3.2018, 13.9887)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A246A #546A24
analogous
#24316A #3A246A #5D246A
triadic
#3A246A #6A3A24 #246A3A
tetradic
#3A246A #6A2431 #546A24 #246A5D
square
#3A246A #6A2431 #546A24 #246A5D
split-complementary
#3A246A #6A5D24 #316A24
monochromatic
#0C0817 #21143C #3A246A #533498 #6E48C1

Accessibility & contrast

On white

12.80
#3A246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#3A246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A246A
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A246A#FFFFFF#000000##FFFFFF
##3A246A1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#003169
Tritanopia (blue-blind)
#2D3443
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3a246a;
/* rgb */ color: rgb(58, 36, 106);
/* oklch */ color: oklch(33.0% 0.116 293.5);
Tailwind
colors: {
  custom: {
    50: '#746095',
    500: '#3a246a',
    950: '#000000',
  },
}
SCSS
$custom: #3a246a;
$custom-light: #746095;
$custom-dark: #000000;
JSON
{
  "hex": "#3a246a",
  "rgb": {
    "r": 58,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 258.857,
    "s": 49.296,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32965,
    "c": 0.11639,
    "h": 293.5
  },
  "luminance": 0.03202
}

Semantic roles & 50–950 ramp

primary
#3A246A
secondary
#849D4D
accent
#D94FAE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050D
muted
#7B797E

Preview Lab

Preview with #3A246A

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

Preview Lab → · Contrast checker → · Palette generator →

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