#3E2467#3E2467

#3E2467 is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.2% C 0.113 H 297.8°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#3E2467
RGBrgb(62, 36, 103)
HSLhsl(263, 48%, 27%)
HSVhsv(263, 65%, 40%)
CMYKcmyk(39.8%, 65%, 0%, 59.6%)
CIE-LABlab(21.08, 28.35, -35.04)
CIE-LCHlch(21.08, 45.07, 308.97°)
OKLaboklab(33.18% 0.0526 -0.0997)
OKLCHoklch(33.18% 0.113 297.8)
XYZxyz(5.0650, 3.2651, 13.1927)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2467 #4D6724
analogous
#242B67 #3E2467 #602467
triadic
#3E2467 #673E24 #24673E
tetradic
#3E2467 #67242B #4D6724 #246760
square
#3E2467 #67242B #4D6724 #246760
split-complementary
#3E2467 #676024 #2B6724
monochromatic
#0E0817 #23143A #3E2467 #593494 #7547BF

Accessibility & contrast

On white

12.70
#3E2467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#3E2467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2467
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2467#FFFFFF#000000##FFFFFF
##3E24671.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003369
Deuteranopia (green-blind)
#063266
Tritanopia (blue-blind)
#343341
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3e2467;
/* rgb */ color: rgb(62, 36, 103);
/* oklch */ color: oklch(33.2% 0.113 297.8);
Tailwind
colors: {
  custom: {
    50: '#776093',
    500: '#3e2467',
    950: '#000000',
  },
}
SCSS
$custom: #3e2467;
$custom-light: #776093;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2467",
  "rgb": {
    "r": 62,
    "g": 36,
    "b": 103
  },
  "hsl": {
    "h": 263.284,
    "s": 48.201,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33176,
    "c": 0.11269,
    "h": 297.8
  },
  "luminance": 0.03265
}

Semantic roles & 50–950 ramp

primary
#3E2467
secondary
#7C9A4C
accent
#D850A3
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09050D
muted
#7B797E

Preview Lab

Preview with #3E2467

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

Preview Lab → · Contrast checker → · Palette generator →

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