#3E2F74#3E2F74

#3E2F74 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.1% C 0.114 H 289.5°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#3E2F74
RGBrgb(62, 47, 116)
HSLhsl(253, 42%, 32%)
HSVhsv(253, 59%, 45%)
CMYKcmyk(46.6%, 59.5%, 0%, 54.5%)
CIE-LABlab(24.70, 25.37, -37.59)
CIE-LCHlch(24.70, 45.35, 304.01°)
OKLaboklab(36.14% 0.0379 -0.1071)
OKLCHoklch(36.14% 0.114 289.5)
XYZxyz(6.1546, 4.3179, 17.0288)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2F74 #65742F
analogous
#2F4374 #3E2F74 #602F74
triadic
#3E2F74 #743E2F #2F743E
tetradic
#3E2F74 #742F43 #65742F #2F7460
square
#3E2F74 #742F43 #65742F #2F7460
split-complementary
#3E2F74 #74602F #43742F
monochromatic
#0F0C1D #271D48 #3E2F74 #5541A0 #745FBE

Accessibility & contrast

On white

11.27
#3E2F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3E2F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2F74
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2F74#FFFFFF#000000##FFFFFF
##3E2F741.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053C76
Deuteranopia (green-blind)
#083973
Tritanopia (blue-blind)
#2E3E4C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3e2f74;
/* rgb */ color: rgb(62, 47, 116);
/* oklch */ color: oklch(36.1% 0.114 289.5);
Tailwind
colors: {
  custom: {
    50: '#78689c',
    500: '#3e2f74',
    950: '#000000',
  },
}
SCSS
$custom: #3e2f74;
$custom-light: #78689c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2f74",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 253.043,
    "s": 42.331,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36137,
    "c": 0.11364,
    "h": 289.5
  },
  "luminance": 0.04318
}

Semantic roles & 50–950 ramp

primary
#3E2F74
secondary
#95A55A
accent
#D256B7
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #3E2F74

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

Preview Lab → · Contrast checker → · Palette generator →

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