#3E244F#3E244F

#3E244F is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.4% C 0.080 H 310.5°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#3E244F
RGBrgb(62, 36, 79)
HSLhsl(276, 37%, 23%)
HSVhsv(276, 54%, 31%)
CMYKcmyk(21.5%, 54.4%, 0%, 69%)
CIE-LABlab(19.43, 21.59, -21.73)
CIE-LCHlch(19.43, 30.64, 314.82°)
OKLaboklab(31.44% 0.0518 -0.0607)
OKLCHoklch(31.44% 0.08 310.5)
XYZxyz(4.0285, 2.8505, 7.7336)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E244F #354F24
analogous
#29244F #3E244F #4F244A
triadic
#3E244F #4F3E24 #244F3E
tetradic
#3E244F #4F2924 #354F24 #244A4F
square
#3E244F #4F2924 #354F24 #244A4F
split-complementary
#3E244F #4A4F24 #244F29
monochromatic
#100A15 #1D1125 #3E244F #5F3779 #804AA3

Accessibility & contrast

On white

13.38
#3E244F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#3E244F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E244F
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E244F#FFFFFF#000000##FFFFFF
##3E244F1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192E50
Deuteranopia (green-blind)
#21304E
Tritanopia (blue-blind)
#3C2B35
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3e244f;
/* rgb */ color: rgb(62, 36, 79);
/* oklch */ color: oklch(31.4% 0.080 310.5);
Tailwind
colors: {
  custom: {
    50: '#745f80',
    500: '#3e244f',
    950: '#000000',
  },
}
SCSS
$custom: #3e244f;
$custom-light: #745f80;
$custom-dark: #000000;
JSON
{
  "hex": "#3e244f",
  "rgb": {
    "r": 62,
    "g": 36,
    "b": 79
  },
  "hsl": {
    "h": 276.279,
    "s": 37.391,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31442,
    "c": 0.07978,
    "h": 310.5
  },
  "luminance": 0.0285
}

Semantic roles & 50–950 ramp

primary
#3E244F
secondary
#62824C
accent
#CD5A88
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08040A
muted
#7B797C

Preview Lab

Preview with #3E244F

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

Preview Lab → · Contrast checker → · Palette generator →

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