#3E256E#3E256E

#3E256E is a dark, vivid violet. Relative luminance 0.035; OKLCH L 33.9% C 0.121 H 294.9°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#3E256E
RGBrgb(62, 37, 110)
HSLhsl(261, 50%, 29%)
HSVhsv(261, 66%, 43%)
CMYKcmyk(43.6%, 66.4%, 0%, 56.9%)
CIE-LABlab(21.85, 29.82, -38.34)
CIE-LCHlch(21.85, 48.57, 307.87°)
OKLaboklab(33.91% 0.0508 -0.1094)
OKLCHoklch(33.91% 0.121 294.9)
XYZxyz(5.4619, 3.4729, 15.1314)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E256E #556E25
analogous
#25316E #3E256E #63256E
triadic
#3E256E #6E3E25 #256E3E
tetradic
#3E256E #6E2531 #556E25 #256E63
square
#3E256E #6E2531 #556E25 #256E63
split-complementary
#3E256E #6E6325 #316E25
monochromatic
#0D0817 #241640 #3E256E #58349C #744BC2

Accessibility & contrast

On white

12.39
#3E256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E256E
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E256E#FFFFFF#000000##FFFFFF
##3E256E1.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#00336C
Tritanopia (blue-blind)
#313646
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3e256e;
/* rgb */ color: rgb(62, 37, 110);
/* oklch */ color: oklch(33.9% 0.121 294.9);
Tailwind
colors: {
  custom: {
    50: '#776198',
    500: '#3e256e',
    950: '#000000',
  },
}
SCSS
$custom: #3e256e;
$custom-light: #776198;
$custom-dark: #000000;
JSON
{
  "hex": "#3e256e",
  "rgb": {
    "r": 62,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 260.548,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33908,
    "c": 0.12058,
    "h": 294.9
  },
  "luminance": 0.03473
}

Semantic roles & 50–950 ramp

primary
#3E256E
secondary
#84A14E
accent
#D94FAA
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3E256E

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

Preview Lab → · Contrast checker → · Palette generator →

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