#3E269D#3E269D

#3E269D is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.179 H 283.2°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#3E269D
RGBrgb(62, 38, 157)
HSLhsl(252, 61%, 38%)
HSVhsv(252, 76%, 62%)
CMYKcmyk(60.5%, 75.8%, 0%, 38.4%)
CIE-LABlab(26.29, 43.62, -60.57)
CIE-LCHlch(26.29, 74.64, 305.76°)
OKLaboklab(38.38% 0.041 -0.1746)
OKLCHoklch(38.38% 0.179 283.2)
XYZxyz(8.7636, 4.8441, 32.3650)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E269D #859D26
analogous
#26499D #3E269D #79269D
triadic
#3E269D #9D3E26 #269D3E
tetradic
#3E269D #9D2649 #859D26 #269D79
square
#3E269D #9D2649 #859D26 #269D79
split-complementary
#3E269D #9D7926 #499D26
monochromatic
#170E3A #2B1A6C #3E269D #5233CE #7C64D9

Accessibility & contrast

On white

10.67
#3E269D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3E269D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E269D
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E269D#FFFFFF#000000##FFFFFF
##3E269D1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A0
Deuteranopia (green-blind)
#003A9B
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e269d;
/* rgb */ color: rgb(62, 38, 157);
/* oklch */ color: oklch(38.4% 0.179 283.2);
Tailwind
colors: {
  custom: {
    50: '#7f63bb',
    500: '#3e269d',
    950: '#000000',
  },
}
SCSS
$custom: #3e269d;
$custom-light: #7f63bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e269d",
  "rgb": {
    "r": 62,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 252.101,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38382,
    "c": 0.17933,
    "h": 283.2
  },
  "luminance": 0.04845
}

Semantic roles & 50–950 ramp

primary
#3E269D
secondary
#ACBF60
accent
#E444C4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3E269D

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

Preview Lab → · Contrast checker → · Palette generator →

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