#3E269A#3E269A

#3E269A is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.176 H 283.8°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#3E269A
RGBrgb(62, 38, 154)
HSLhsl(252, 60%, 38%)
HSVhsv(252, 75%, 60%)
CMYKcmyk(59.7%, 75.3%, 0%, 39.6%)
CIE-LABlab(25.99, 42.70, -59.22)
CIE-LCHlch(25.99, 73.01, 305.79°)
OKLaboklab(38.08% 0.0418 -0.1706)
OKLCHoklch(38.08% 0.176 283.8)
XYZxyz(8.5107, 4.7429, 31.0326)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E269A #829A26
analogous
#26489A #3E269A #78269A
triadic
#3E269A #9A3E26 #269A3E
tetradic
#3E269A #9A2648 #829A26 #269A78
square
#3E269A #9A2648 #829A26 #269A78
split-complementary
#3E269A #9A7826 #489A26
monochromatic
#160E38 #2A1A69 #3E269A #5232CB #7B62D8

Accessibility & contrast

On white

10.78
#3E269A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3E269A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E269A
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E269A#FFFFFF#000000##FFFFFF
##3E269A1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003A98
Tritanopia (blue-blind)
#04465E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e269a;
/* rgb */ color: rgb(62, 38, 154);
/* oklch */ color: oklch(38.1% 0.176 283.8);
Tailwind
colors: {
  custom: {
    50: '#7f63b9',
    500: '#3e269a',
    950: '#000000',
  },
}
SCSS
$custom: #3e269a;
$custom-light: #7f63b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e269a",
  "rgb": {
    "r": 62,
    "g": 38,
    "b": 154
  },
  "hsl": {
    "h": 252.414,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38084,
    "c": 0.17568,
    "h": 283.8
  },
  "luminance": 0.04743
}

Semantic roles & 50–950 ramp

primary
#3E269A
secondary
#AABE5E
accent
#E444C3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3E269A

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

Preview Lab → · Contrast checker → · Palette generator →

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