#3E267A#3E267A

#3E267A is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.1% C 0.135 H 290.9°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#3E267A
RGBrgb(62, 38, 122)
HSLhsl(257, 53%, 31%)
HSVhsv(257, 69%, 48%)
CMYKcmyk(49.2%, 68.9%, 0%, 52.2%)
CIE-LABlab(23.05, 32.86, -44.08)
CIE-LCHlch(23.05, 54.98, 306.70°)
OKLaboklab(35.09% 0.0482 -0.1262)
OKLCHoklch(35.09% 0.135 290.9)
XYZxyz(6.1916, 3.8153, 18.8188)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E267A #627A26
analogous
#26387A #3E267A #68267A
triadic
#3E267A #7A3E26 #267A3E
tetradic
#3E267A #7A2638 #627A26 #267A68
square
#3E267A #7A2638 #627A26 #267A68
split-complementary
#3E267A #7A6826 #387A26
monochromatic
#0F091D #26174B #3E267A #5635A9 #7451C9

Accessibility & contrast

On white

11.91
#3E267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3E267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E267A
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E267A#FFFFFF#000000##FFFFFF
##3E267A1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#003578
Tritanopia (blue-blind)
#2B3A4C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3e267a;
/* rgb */ color: rgb(62, 38, 122);
/* oklch */ color: oklch(35.1% 0.135 290.9);
Tailwind
colors: {
  custom: {
    50: '#7962a1',
    500: '#3e267a',
    950: '#000000',
  },
}
SCSS
$custom: #3e267a;
$custom-light: #7962a1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e267a",
  "rgb": {
    "r": 62,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 257.143,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35087,
    "c": 0.13512,
    "h": 290.9
  },
  "luminance": 0.03816
}

Semantic roles & 50–950 ramp

primary
#3E267A
secondary
#92AC50
accent
#DC4CB3
background
#F7F5FA
surface
#EEEAF3
border
#C9C6CD
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #3E267A

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

Preview Lab → · Contrast checker → · Palette generator →

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