#3E296F#3E296F

#3E296F is a dark, moderate violet. Relative luminance 0.038; OKLCH L 34.7% C 0.116 H 293.2°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#3E296F
RGBrgb(62, 41, 111)
HSLhsl(258, 46%, 30%)
HSVhsv(258, 63%, 44%)
CMYKcmyk(44.1%, 63.1%, 0%, 56.5%)
CIE-LABlab(22.85, 27.64, -37.36)
CIE-LCHlch(22.85, 46.47, 306.50°)
OKLaboklab(34.67% 0.0457 -0.1065)
OKLCHoklch(34.67% 0.116 293.2)
XYZxyz(5.6480, 3.7576, 15.4635)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E296F #5A6F29
analogous
#29376F #3E296F #61296F
triadic
#3E296F #6F3E29 #296F3E
tetradic
#3E296F #6F2937 #5A6F29 #296F61
square
#3E296F #6F2937 #5A6F29 #296F61
split-complementary
#3E296F #6F6129 #376F29
monochromatic
#0C0816 #251842 #3E296F #573A9C #7453BF

Accessibility & contrast

On white

11.99
#3E296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#3E296F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E296F
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E296F#FFFFFF#000000##FFFFFF
##3E296F1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#02356D
Tritanopia (blue-blind)
#313947
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3e296f;
/* rgb */ color: rgb(62, 41, 111);
/* oklch */ color: oklch(34.7% 0.116 293.2);
Tailwind
colors: {
  custom: {
    50: '#776499',
    500: '#3e296f',
    950: '#000000',
  },
}
SCSS
$custom: #3e296f;
$custom-light: #776499;
$custom-dark: #000000;
JSON
{
  "hex": "#3e296f",
  "rgb": {
    "r": 62,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 258,
    "s": 46.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34666,
    "c": 0.11586,
    "h": 293.2
  },
  "luminance": 0.03758
}

Semantic roles & 50–950 ramp

primary
#3E296F
secondary
#8AA153
accent
#D652AE
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09050E
muted
#7B7A7E

Preview Lab

Preview with #3E296F

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

Preview Lab → · Contrast checker → · Palette generator →

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