#3A296D#3A296D

#3A296D is a dark, moderate violet. Relative luminance 0.036; OKLCH L 34.1% C 0.113 H 290.7°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#3A296D
RGBrgb(58, 41, 109)
HSLhsl(255, 45%, 29%)
HSVhsv(255, 62%, 43%)
CMYKcmyk(46.8%, 62.4%, 0%, 57.3%)
CIE-LABlab(22.26, 26.06, -37.04)
CIE-LCHlch(22.26, 45.29, 305.12°)
OKLaboklab(34.08% 0.0399 -0.1057)
OKLCHoklch(34.08% 0.113 290.7)
XYZxyz(5.2974, 3.5894, 14.8787)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A296D #5C6D29
analogous
#293A6D #3A296D #5C296D
triadic
#3A296D #6D3A29 #296D3A
tetradic
#3A296D #6D293A #5C6D29 #296D5C
square
#3A296D #6D293A #5C6D29 #296D5C
split-complementary
#3A296D #6D5C29 #3A6D29
monochromatic
#0C0816 #221841 #3A296D #523A99 #6D52BE

Accessibility & contrast

On white

12.22
#3A296D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#3A296D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A296D
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A296D#FFFFFF#000000##FFFFFF
##3A296D1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366F
Deuteranopia (green-blind)
#00346C
Tritanopia (blue-blind)
#2B3846
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3a296d;
/* rgb */ color: rgb(58, 41, 109);
/* oklch */ color: oklch(34.1% 0.113 290.7);
Tailwind
colors: {
  custom: {
    50: '#746397',
    500: '#3a296d',
    950: '#000000',
  },
}
SCSS
$custom: #3a296d;
$custom-light: #746397;
$custom-dark: #000000;
JSON
{
  "hex": "#3a296d",
  "rgb": {
    "r": 58,
    "g": 41,
    "b": 109
  },
  "hsl": {
    "h": 255,
    "s": 45.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34083,
    "c": 0.11295,
    "h": 290.7
  },
  "luminance": 0.0359
}

Semantic roles & 50–950 ramp

primary
#3A296D
secondary
#8C9F53
accent
#D553B4
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050D
muted
#7B797E

Preview Lab

Preview with #3A296D

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

Preview Lab → · Contrast checker → · Palette generator →

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