#3E267C#3E267C

#3E267C is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.3% C 0.138 H 290.4°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#3E267C
RGBrgb(62, 38, 124)
HSLhsl(257, 53%, 32%)
HSVhsv(257, 69%, 49%)
CMYKcmyk(50%, 69.4%, 0%, 51.4%)
CIE-LABlab(23.22, 33.47, -45.07)
CIE-LCHlch(23.22, 56.14, 306.60°)
OKLaboklab(35.26% 0.0479 -0.1291)
OKLCHoklch(35.26% 0.138 290.4)
XYZxyz(6.3168, 3.8654, 19.4781)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E267C #647C26
analogous
#26397C #3E267C #69267C
triadic
#3E267C #7C3E26 #267C3E
tetradic
#3E267C #7C2639 #647C26 #267C69
square
#3E267C #7C2639 #647C26 #267C69
split-complementary
#3E267C #7C6926 #397C26
monochromatic
#0F091E #27184D #3E267C #5534AB #7452CA

Accessibility & contrast

On white

11.84
#3E267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3E267C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E267C
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E267C#FFFFFF#000000##FFFFFF
##3E267C1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#2A3B4D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3e267c;
/* rgb */ color: rgb(62, 38, 124);
/* oklch */ color: oklch(35.3% 0.138 290.4);
Tailwind
colors: {
  custom: {
    50: '#7962a3',
    500: '#3e267c',
    950: '#000000',
  },
}
SCSS
$custom: #3e267c;
$custom-light: #7962a3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e267c",
  "rgb": {
    "r": 62,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 256.744,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35263,
    "c": 0.13775,
    "h": 290.4
  },
  "luminance": 0.03866
}

Semantic roles & 50–950 ramp

primary
#3E267C
secondary
#94AE50
accent
#DC4BB4
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #3E267C

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

Preview Lab → · Contrast checker → · Palette generator →

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