#3E267B#3E267B

#3E267B is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.136 H 290.6°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#3E267B
RGBrgb(62, 38, 123)
HSLhsl(257, 53%, 32%)
HSVhsv(257, 69%, 48%)
CMYKcmyk(49.6%, 69.1%, 0%, 51.8%)
CIE-LABlab(23.14, 33.17, -44.57)
CIE-LCHlch(23.14, 55.56, 306.65°)
OKLaboklab(35.17% 0.0481 -0.1277)
OKLCHoklch(35.17% 0.136 290.6)
XYZxyz(6.2539, 3.8402, 19.1468)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E267B #637B26
analogous
#26397B #3E267B #69267B
triadic
#3E267B #7B3E26 #267B3E
tetradic
#3E267B #7B2639 #637B26 #267B69
square
#3E267B #7B2639 #637B26 #267B69
split-complementary
#3E267B #7B6926 #397B26
monochromatic
#0F091D #26184C #3E267B #5634AA #7452CA

Accessibility & contrast

On white

11.88
#3E267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E267B
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E267B#FFFFFF#000000##FFFFFF
##3E267B1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#003579
Tritanopia (blue-blind)
#2A3B4D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3e267b;
/* rgb */ color: rgb(62, 38, 123);
/* oklch */ color: oklch(35.2% 0.136 290.6);
Tailwind
colors: {
  custom: {
    50: '#7962a2',
    500: '#3e267b',
    950: '#000000',
  },
}
SCSS
$custom: #3e267b;
$custom-light: #7962a2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e267b",
  "rgb": {
    "r": 62,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 256.941,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35175,
    "c": 0.13645,
    "h": 290.6
  },
  "luminance": 0.0384
}

Semantic roles & 50–950 ramp

primary
#3E267B
secondary
#93AD50
accent
#DC4CB3
background
#F7F5FA
surface
#EEEAF3
border
#C9C6CD
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #3E267B

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

Preview Lab → · Contrast checker → · Palette generator →

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