#3E267E#3E267E

#3E267E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.4% C 0.140 H 289.8°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#3E267E
RGBrgb(62, 38, 126)
HSLhsl(256, 54%, 32%)
HSVhsv(256, 70%, 49%)
CMYKcmyk(50.8%, 69.8%, 0%, 50.6%)
CIE-LABlab(23.39, 34.09, -46.06)
CIE-LCHlch(23.39, 57.30, 306.51°)
OKLaboklab(35.44% 0.0476 -0.132)
OKLCHoklch(35.44% 0.14 289.8)
XYZxyz(6.4445, 3.9165, 20.1510)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E267E #667E26
analogous
#263A7E #3E267E #6A267E
triadic
#3E267E #7E3E26 #267E3E
tetradic
#3E267E #7E263A #667E26 #267E6A
square
#3E267E #7E263A #667E26 #267E6A
split-complementary
#3E267E #7E6A26 #3A7E26
monochromatic
#100A20 #27184F #3E267E #5534AD #7453CB

Accessibility & contrast

On white

11.78
#3E267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#3E267E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E267E
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E267E#FFFFFF#000000##FFFFFF
##3E267E1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#293C4E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3e267e;
/* rgb */ color: rgb(62, 38, 126);
/* oklch */ color: oklch(35.4% 0.140 289.8);
Tailwind
colors: {
  custom: {
    50: '#7a62a4',
    500: '#3e267e',
    950: '#000000',
  },
}
SCSS
$custom: #3e267e;
$custom-light: #7a62a4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e267e",
  "rgb": {
    "r": 62,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 256.364,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3544,
    "c": 0.14037,
    "h": 289.8
  },
  "luminance": 0.03917
}

Semantic roles & 50–950 ramp

primary
#3E267E
secondary
#96B050
accent
#DD4BB5
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #3E267E

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

Preview Lab → · Contrast checker → · Palette generator →

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