#3A296F#3A296F

#3A296F is a dark, moderate violet. Relative luminance 0.036; OKLCH L 34.2% C 0.116 H 290.1°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#3A296F
RGBrgb(58, 41, 111)
HSLhsl(255, 46%, 30%)
HSVhsv(255, 63%, 44%)
CMYKcmyk(47.7%, 63.1%, 0%, 56.5%)
CIE-LABlab(22.42, 26.69, -38.08)
CIE-LCHlch(22.42, 46.51, 305.03°)
OKLaboklab(34.24% 0.0398 -0.1087)
OKLCHoklch(34.24% 0.116 290.1)
XYZxyz(5.4063, 3.6329, 15.4522)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A296F #5E6F29
analogous
#293B6F #3A296F #5D296F
triadic
#3A296F #6F3A29 #296F3A
tetradic
#3A296F #6F293B #5E6F29 #296F5D
square
#3A296F #6F293B #5E6F29 #296F5D
split-complementary
#3A296F #6F5D29 #3B6F29
monochromatic
#0C0816 #231842 #3A296F #513A9C #6D53BF

Accessibility & contrast

On white

12.16
#3A296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3A296F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A296F
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A296F#FFFFFF#000000##FFFFFF
##3A296F1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#00346E
Tritanopia (blue-blind)
#2A3947
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3a296f;
/* rgb */ color: rgb(58, 41, 111);
/* oklch */ color: oklch(34.2% 0.116 290.1);
Tailwind
colors: {
  custom: {
    50: '#756399',
    500: '#3a296f',
    950: '#000000',
  },
}
SCSS
$custom: #3a296f;
$custom-light: #756399;
$custom-dark: #000000;
JSON
{
  "hex": "#3a296f",
  "rgb": {
    "r": 58,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 254.571,
    "s": 46.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34245,
    "c": 0.11579,
    "h": 290.1
  },
  "luminance": 0.03633
}

Semantic roles & 50–950 ramp

primary
#3A296F
secondary
#8EA153
accent
#D652B6
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3A296F

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

Preview Lab → · Contrast checker → · Palette generator →

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