#3E2283#3E2283

#3E2283 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.152 H 289.5°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#3E2283
RGBrgb(62, 34, 131)
HSLhsl(257, 59%, 32%)
HSVhsv(257, 74%, 51%)
CMYKcmyk(52.7%, 74%, 0%, 48.6%)
CIE-LABlab(23.02, 37.88, -49.82)
CIE-LCHlch(23.02, 62.58, 307.25°)
OKLaboklab(35.31% 0.0506 -0.1431)
OKLCHoklch(35.31% 0.152 289.5)
XYZxyz(6.6542, 3.8066, 21.8525)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2283 #678322
analogous
#223683 #3E2283 #6F2283
triadic
#3E2283 #833E22 #22833E
tetradic
#3E2283 #832236 #678322 #22836F
square
#3E2283 #832236 #678322 #22836F
split-complementary
#3E2283 #836F22 #368322
monochromatic
#100922 #271552 #3E2283 #552FB4 #744ED1

Accessibility & contrast

On white

11.92
#3E2283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3E2283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2283
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2283#FFFFFF#000000##FFFFFF
##3E22831.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#253C50
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3e2283;
/* rgb */ color: rgb(62, 34, 131);
/* oklch */ color: oklch(35.3% 0.152 289.5);
Tailwind
colors: {
  custom: {
    50: '#7b60a8',
    500: '#3e2283',
    950: '#000000',
  },
}
SCSS
$custom: #3e2283;
$custom-light: #7b60a8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2283",
  "rgb": {
    "r": 62,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 257.32,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35313,
    "c": 0.15176,
    "h": 289.5
  },
  "luminance": 0.03807
}

Semantic roles & 50–950 ramp

primary
#3E2283
secondary
#96B44C
accent
#E246B5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3E2283

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

Preview Lab → · Contrast checker → · Palette generator →

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