#3E267F#3E267F

#3E267F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.142 H 289.6°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#3E267F
RGBrgb(62, 38, 127)
HSLhsl(256, 54%, 32%)
HSVhsv(256, 70%, 50%)
CMYKcmyk(51.2%, 70.1%, 0%, 50.2%)
CIE-LABlab(23.48, 34.40, -46.55)
CIE-LCHlch(23.48, 57.88, 306.46°)
OKLaboklab(35.53% 0.0475 -0.1335)
OKLCHoklch(35.53% 0.142 289.6)
XYZxyz(6.5094, 3.9424, 20.4925)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E267F #677F26
analogous
#263A7F #3E267F #6B267F
triadic
#3E267F #7F3E26 #267F3E
tetradic
#3E267F #7F263A #677F26 #267F6B
square
#3E267F #7F263A #677F26 #267F6B
split-complementary
#3E267F #7F6B26 #3A7F26
monochromatic
#100A21 #271850 #3E267F #5534AE #7454CC

Accessibility & contrast

On white

11.74
#3E267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#3E267F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E267F
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E267F#FFFFFF#000000##FFFFFF
##3E267F1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#283C4F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3e267f;
/* rgb */ color: rgb(62, 38, 127);
/* oklch */ color: oklch(35.5% 0.142 289.6);
Tailwind
colors: {
  custom: {
    50: '#7a62a5',
    500: '#3e267f',
    950: '#000000',
  },
}
SCSS
$custom: #3e267f;
$custom-light: #7a62a5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e267f",
  "rgb": {
    "r": 62,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 256.18,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3553,
    "c": 0.14167,
    "h": 289.6
  },
  "luminance": 0.03943
}

Semantic roles & 50–950 ramp

primary
#3E267F
secondary
#96B051
accent
#DD4AB6
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #3E267F

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

Preview Lab → · Contrast checker → · Palette generator →

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