#3E296A#3E296A

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

Color values

HEX#3E296A
RGBrgb(62, 41, 106)
HSLhsl(259, 44%, 29%)
HSVhsv(259, 61%, 42%)
CMYKcmyk(41.5%, 61.3%, 0%, 58.4%)
CIE-LABlab(22.48, 26.12, -34.73)
CIE-LCHlch(22.48, 43.45, 306.94°)
OKLaboklab(34.27% 0.0458 -0.0987)
OKLCHoklch(34.27% 0.109 294.9)
XYZxyz(5.3804, 3.6505, 14.0540)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E296A #556A29
analogous
#29356A #3E296A #5F296A
triadic
#3E296A #6A3E29 #296A3E
tetradic
#3E296A #6A2935 #556A29 #296A5F
square
#3E296A #6A2935 #556A29 #296A5F
split-complementary
#3E296A #6A5F29 #356A29
monochromatic
#0D0916 #24183E #3E296A #583A96 #7452BC

Accessibility & contrast

On white

12.14
#3E296A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E296A
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E296A#FFFFFF#000000##FFFFFF
##3E296A1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04366C
Deuteranopia (green-blind)
#0D3569
Tritanopia (blue-blind)
#333745
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3e296a;
/* rgb */ color: rgb(62, 41, 106);
/* oklch */ color: oklch(34.3% 0.109 294.9);
Tailwind
colors: {
  custom: {
    50: '#776395',
    500: '#3e296a',
    950: '#000000',
  },
}
SCSS
$custom: #3e296a;
$custom-light: #776395;
$custom-dark: #000000;
JSON
{
  "hex": "#3e296a",
  "rgb": {
    "r": 62,
    "g": 41,
    "b": 106
  },
  "hsl": {
    "h": 259.385,
    "s": 44.218,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34274,
    "c": 0.10886,
    "h": 294.9
  },
  "luminance": 0.03651
}

Semantic roles & 50–950 ramp

primary
#3E296A
secondary
#849C52
accent
#D454AB
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09050D
muted
#7B7A7E

Preview Lab

Preview with #3E296A

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

Preview Lab → · Contrast checker → · Palette generator →

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