#3E269F#3E269F

#3E269F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.182 H 282.9°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#3E269F
RGBrgb(62, 38, 159)
HSLhsl(252, 61%, 39%)
HSVhsv(252, 76%, 62%)
CMYKcmyk(61%, 76.1%, 0%, 37.6%)
CIE-LABlab(26.49, 44.23, -61.46)
CIE-LCHlch(26.49, 75.72, 305.74°)
OKLaboklab(38.58% 0.0405 -0.1772)
OKLCHoklch(38.58% 0.182 282.9)
XYZxyz(8.9358, 4.9130, 33.2716)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E269F #879F26
analogous
#264A9F #3E269F #7A269F
triadic
#3E269F #9F3E26 #269F3E
tetradic
#3E269F #9F264A #879F26 #269F7A
square
#3E269F #9F264A #879F26 #269F7A
split-complementary
#3E269F #9F7A26 #4A9F26
monochromatic
#170E3C #2B1A6E #3E269F #5234CE #7C65DA

Accessibility & contrast

On white

10.59
#3E269F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3E269F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E269F
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E269F#FFFFFF#000000##FFFFFF
##3E269F1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004861
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3e269f;
/* rgb */ color: rgb(62, 38, 159);
/* oklch */ color: oklch(38.6% 0.182 282.9);
Tailwind
colors: {
  custom: {
    50: '#7f64bd',
    500: '#3e269f',
    950: '#000000',
  },
}
SCSS
$custom: #3e269f;
$custom-light: #7f64bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e269f",
  "rgb": {
    "r": 62,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 251.901,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38583,
    "c": 0.18175,
    "h": 282.9
  },
  "luminance": 0.04914
}

Semantic roles & 50–950 ramp

primary
#3E269F
secondary
#ADC061
accent
#E543C5
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3E269F

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

Preview Lab → · Contrast checker → · Palette generator →

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