#3E3363#3E3363

#3E3363 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 35.7% C 0.082 H 292.3°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#3E3363
RGBrgb(62, 51, 99)
HSLhsl(254, 32%, 29%)
HSVhsv(254, 48%, 39%)
CMYKcmyk(37.4%, 48.5%, 0%, 61.2%)
CIE-LABlab(24.62, 17.41, -26.77)
CIE-LCHlch(24.62, 31.93, 303.03°)
OKLaboklab(35.71% 0.031 -0.0754)
OKLCHoklch(35.71% 0.082 292.3)
XYZxyz(5.4220, 4.2925, 12.3448)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3363 #586333
analogous
#334063 #3E3363 #563363
triadic
#3E3363 #633E33 #33633E
tetradic
#3E3363 #633340 #586333 #336356
square
#3E3363 #633340 #586333 #336356
split-complementary
#3E3363 #635633 #406333
monochromatic
#0D0A14 #251E3B #3E3363 #57488B #7462AE

Accessibility & contrast

On white

11.30
#3E3363 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3E3363 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3363
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3363#FFFFFF#000000##FFFFFF
##3E33631.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233B65
Deuteranopia (green-blind)
#243A62
Tritanopia (blue-blind)
#353C46
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3e3363;
/* rgb */ color: rgb(62, 51, 99);
/* oklch */ color: oklch(35.7% 0.082 292.3);
Tailwind
colors: {
  custom: {
    50: '#756a90',
    500: '#3e3363',
    950: '#000000',
  },
}
SCSS
$custom: #3e3363;
$custom-light: #756a90;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3363",
  "rgb": {
    "r": 62,
    "g": 51,
    "b": 99
  },
  "hsl": {
    "h": 253.75,
    "s": 32,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35713,
    "c": 0.0815,
    "h": 292.3
  },
  "luminance": 0.04293
}

Semantic roles & 50–950 ramp

primary
#3E3363
secondary
#88945E
accent
#C860B0
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#08060C
muted
#7B7A7D

Preview Lab

Preview with #3E3363

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

Preview Lab → · Contrast checker → · Palette generator →

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