#3E2263#3E2263

#3E2263 is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.5% C 0.110 H 300.1°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#3E2263
RGBrgb(62, 34, 99)
HSLhsl(266, 49%, 26%)
HSVhsv(266, 66%, 39%)
CMYKcmyk(37.4%, 65.7%, 0%, 61.2%)
CIE-LABlab(20.32, 28.40, -33.65)
CIE-LCHlch(20.32, 44.03, 310.17°)
OKLaboklab(32.53% 0.0555 -0.0955)
OKLCHoklch(32.53% 0.11 300.1)
XYZxyz(4.8102, 3.0690, 12.1409)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2263 #476322
analogous
#222663 #3E2263 #5E2263
triadic
#3E2263 #633E22 #22633E
tetradic
#3E2263 #632226 #476322 #22635E
square
#3E2263 #632226 #476322 #22635E
split-complementary
#3E2263 #635E22 #266322
monochromatic
#0E0817 #211235 #3E2263 #5B3291 #7741BE

Accessibility & contrast

On white

13.01
#3E2263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#3E2263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2263
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2263#FFFFFF#000000##FFFFFF
##3E22631.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003165
Deuteranopia (green-blind)
#0A3162
Tritanopia (blue-blind)
#36303F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3e2263;
/* rgb */ color: rgb(62, 34, 99);
/* oklch */ color: oklch(32.5% 0.110 300.1);
Tailwind
colors: {
  custom: {
    50: '#765f90',
    500: '#3e2263',
    950: '#000000',
  },
}
SCSS
$custom: #3e2263;
$custom-light: #765f90;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2263",
  "rgb": {
    "r": 62,
    "g": 34,
    "b": 99
  },
  "hsl": {
    "h": 265.846,
    "s": 48.872,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32529,
    "c": 0.11049,
    "h": 300.1
  },
  "luminance": 0.03069
}

Semantic roles & 50–950 ramp

primary
#3E2263
secondary
#76974A
accent
#D84F9D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3E2263

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

Preview Lab → · Contrast checker → · Palette generator →

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