#3E256A#3E256A

#3E256A is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.6% C 0.115 H 296.3°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#3E256A
RGBrgb(62, 37, 106)
HSLhsl(262, 48%, 28%)
HSVhsv(262, 65%, 42%)
CMYKcmyk(41.5%, 65.1%, 0%, 58.4%)
CIE-LABlab(21.53, 28.62, -36.26)
CIE-LCHlch(21.53, 46.19, 308.29°)
OKLaboklab(33.58% 0.0511 -0.1032)
OKLCHoklch(33.58% 0.115 296.3)
XYZxyz(5.2490, 3.3878, 14.0102)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E256A #516A25
analogous
#252E6A #3E256A #60256A
triadic
#3E256A #6A3E25 #256A3E
tetradic
#3E256A #6A252E #516A25 #256A60
square
#3E256A #6A252E #516A25 #256A60
split-complementary
#3E256A #6A6025 #2E6A25
monochromatic
#0D0817 #23153D #3E256A #593597 #744AC0

Accessibility & contrast

On white

12.52
#3E256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#3E256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E256A
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E256A#FFFFFF#000000##FFFFFF
##3E256A1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#033369
Tritanopia (blue-blind)
#333443
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3e256a;
/* rgb */ color: rgb(62, 37, 106);
/* oklch */ color: oklch(33.6% 0.115 296.3);
Tailwind
colors: {
  custom: {
    50: '#776195',
    500: '#3e256a',
    950: '#000000',
  },
}
SCSS
$custom: #3e256a;
$custom-light: #776195;
$custom-dark: #000000;
JSON
{
  "hex": "#3e256a",
  "rgb": {
    "r": 62,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 261.739,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33582,
    "c": 0.11519,
    "h": 296.3
  },
  "luminance": 0.03388
}

Semantic roles & 50–950 ramp

primary
#3E256A
secondary
#809D4E
accent
#D850A7
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050D
muted
#7B797E

Preview Lab

Preview with #3E256A

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

Preview Lab → · Contrast checker → · Palette generator →

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