#3E2F5C#3E2F5C

#3E2F5C is a dark, moderate violet. Relative luminance 0.038; OKLCH L 34.4% C 0.078 H 297.5°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#3E2F5C
RGBrgb(62, 47, 92)
HSLhsl(260, 32%, 27%)
HSVhsv(260, 49%, 36%)
CMYKcmyk(32.6%, 48.9%, 0%, 63.9%)
CIE-LABlab(23.10, 17.99, -24.60)
CIE-LCHlch(23.10, 30.47, 306.18°)
OKLaboklab(34.44% 0.036 -0.0691)
OKLCHoklch(34.44% 0.078 297.5)
XYZxyz(4.9344, 3.8298, 10.6024)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2F5C #4D5C2F
analogous
#2F375C #3E2F5C #552F5C
triadic
#3E2F5C #5C3E2F #2F5C3E
tetradic
#3E2F5C #5C2F37 #4D5C2F #2F5C55
square
#3E2F5C #5C2F37 #4D5C2F #2F5C55
split-complementary
#3E2F5C #5C552F #375C2F
monochromatic
#0E0A14 #231A33 #3E2F5C #594485 #755AAB

Accessibility & contrast

On white

11.89
#3E2F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3E2F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2F5C
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2F5C#FFFFFF#000000##FFFFFF
##3E2F5C1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21375E
Deuteranopia (green-blind)
#24375B
Tritanopia (blue-blind)
#383741
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3e2f5c;
/* rgb */ color: rgb(62, 47, 92);
/* oklch */ color: oklch(34.4% 0.078 297.5);
Tailwind
colors: {
  custom: {
    50: '#75678a',
    500: '#3e2f5c',
    950: '#000000',
  },
}
SCSS
$custom: #3e2f5c;
$custom-light: #75678a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2f5c",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 92
  },
  "hsl": {
    "h": 260,
    "s": 32.374,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34436,
    "c": 0.07788,
    "h": 297.5
  },
  "luminance": 0.0383
}

Semantic roles & 50–950 ramp

primary
#3E2F5C
secondary
#7C8E59
accent
#C95FA5
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#08060C
muted
#7B7A7D

Preview Lab

Preview with #3E2F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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