#3B296F#3B296F

#3B296F is a dark, moderate violet. Relative luminance 0.037; OKLCH L 34.3% C 0.116 H 290.9°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#3B296F
RGBrgb(59, 41, 111)
HSLhsl(255, 46%, 30%)
HSVhsv(255, 63%, 44%)
CMYKcmyk(46.8%, 63.1%, 0%, 56.5%)
CIE-LABlab(22.53, 26.93, -37.90)
CIE-LCHlch(22.53, 46.50, 305.39°)
OKLaboklab(34.35% 0.0413 -0.1082)
OKLCHoklch(34.35% 0.116 290.9)
XYZxyz(5.4650, 3.6632, 15.4550)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B296F #5D6F29
analogous
#293A6F #3B296F #5E296F
triadic
#3B296F #6F3B29 #296F3B
tetradic
#3B296F #6F293A #5D6F29 #296F5E
square
#3B296F #6F293A #5D6F29 #296F5E
split-complementary
#3B296F #6F5E29 #3A6F29
monochromatic
#0C0816 #231842 #3B296F #533A9C #6F53BF

Accessibility & contrast

On white

12.12
#3B296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B296F
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B296F#FFFFFF#000000##FFFFFF
##3B296F1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b296f;
/* rgb */ color: rgb(59, 41, 111);
/* oklch */ color: oklch(34.3% 0.116 290.9);
Tailwind
colors: {
  custom: {
    50: '#756399',
    500: '#3b296f',
    950: '#000000',
  },
}
SCSS
$custom: #3b296f;
$custom-light: #756399;
$custom-dark: #000000;
JSON
{
  "hex": "#3b296f",
  "rgb": {
    "r": 59,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 255.429,
    "s": 46.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34348,
    "c": 0.11578,
    "h": 290.9
  },
  "luminance": 0.03663
}

Semantic roles & 50–950 ramp

primary
#3B296F
secondary
#8DA153
accent
#D652B4
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3B296F

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

Preview Lab → · Contrast checker → · Palette generator →

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