#3E256D#3E256D

#3E256D is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.8% C 0.119 H 295.3°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#3E256D
RGBrgb(62, 37, 109)
HSLhsl(261, 49%, 29%)
HSVhsv(261, 66%, 43%)
CMYKcmyk(43.1%, 66.1%, 0%, 57.3%)
CIE-LABlab(21.77, 29.52, -37.82)
CIE-LCHlch(21.77, 47.98, 307.97°)
OKLaboklab(33.83% 0.0509 -0.1078)
OKLCHoklch(33.83% 0.119 295.3)
XYZxyz(5.4078, 3.4513, 14.8463)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E256D #546D25
analogous
#25306D #3E256D #62256D
triadic
#3E256D #6D3E25 #256D3E
tetradic
#3E256D #6D2530 #546D25 #256D62
square
#3E256D #6D2530 #546D25 #256D62
split-complementary
#3E256D #6D6225 #306D25
monochromatic
#0D0817 #24153F #3E256D #58359B #744BC2

Accessibility & contrast

On white

12.42
#3E256D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#3E256D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E256D
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E256D#FFFFFF#000000##FFFFFF
##3E256D1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356F
Deuteranopia (green-blind)
#00336B
Tritanopia (blue-blind)
#323545
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3e256d;
/* rgb */ color: rgb(62, 37, 109);
/* oklch */ color: oklch(33.8% 0.119 295.3);
Tailwind
colors: {
  custom: {
    50: '#776197',
    500: '#3e256d',
    950: '#000000',
  },
}
SCSS
$custom: #3e256d;
$custom-light: #776197;
$custom-dark: #000000;
JSON
{
  "hex": "#3e256d",
  "rgb": {
    "r": 62,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 260.833,
    "s": 49.315,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33826,
    "c": 0.11924,
    "h": 295.3
  },
  "luminance": 0.03451
}

Semantic roles & 50–950 ramp

primary
#3E256D
secondary
#83A04E
accent
#D94FA9
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050D
muted
#7B797E

Preview Lab

Preview with #3E256D

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

Preview Lab → · Contrast checker → · Palette generator →

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