#3E245D#3E245D

#3E245D is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.4% C 0.099 H 302.2°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#3E245D
RGBrgb(62, 36, 93)
HSLhsl(267, 44%, 25%)
HSVhsv(267, 61%, 36%)
CMYKcmyk(33.3%, 61.3%, 0%, 63.5%)
CIE-LABlab(20.35, 25.45, -29.64)
CIE-LCHlch(20.35, 39.07, 310.65°)
OKLaboklab(32.41% 0.0528 -0.0838)
OKLCHoklch(32.41% 0.099 302.2)
XYZxyz(4.5928, 3.0762, 10.7056)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E245D #435D24
analogous
#24275D #3E245D #5A245D
triadic
#3E245D #5D3E24 #245D3E
tetradic
#3E245D #5D2427 #435D24 #245D5A
square
#3E245D #5D2427 #435D24 #245D5A
split-complementary
#3E245D #5D5A24 #275D24
monochromatic
#0F0916 #211331 #3E245D #5B3589 #7946B5

Accessibility & contrast

On white

13.00
#3E245D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#3E245D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E245D
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E245D#FFFFFF#000000##FFFFFF
##3E245D1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B315F
Deuteranopia (green-blind)
#16315C
Tritanopia (blue-blind)
#382F3C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3e245d;
/* rgb */ color: rgb(62, 36, 93);
/* oklch */ color: oklch(32.4% 0.099 302.2);
Tailwind
colors: {
  custom: {
    50: '#76608b',
    500: '#3e245d',
    950: '#000000',
  },
}
SCSS
$custom: #3e245d;
$custom-light: #76608b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e245d",
  "rgb": {
    "r": 62,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 267.368,
    "s": 44.186,
    "l": 25.294
  },
  "oklch": {
    "l": 0.3241,
    "c": 0.09906,
    "h": 302.2
  },
  "luminance": 0.03076
}

Semantic roles & 50–950 ramp

primary
#3E245D
secondary
#71914C
accent
#D4549A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09050C
muted
#7B797D

Preview Lab

Preview with #3E245D

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

Preview Lab → · Contrast checker → · Palette generator →

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