#3E1058#3E1058

#3E1058 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.123 H 309.8°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#3E1058
RGBrgb(62, 16, 88)
HSLhsl(278, 69%, 20%)
HSVhsv(278, 82%, 35%)
CMYKcmyk(29.5%, 81.8%, 0%, 65.5%)
CIE-LABlab(16.00, 35.01, -33.31)
CIE-LCHlch(16.00, 48.32, 316.42°)
OKLaboklab(29.16% 0.0787 -0.0945)
OKLCHoklch(29.16% 0.123 309.8)
XYZxyz(3.9330, 2.0994, 9.4287)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1058 #2A5810
analogous
#1A1058 #3E1058 #58104E
triadic
#3E1058 #583E10 #10583E
tetradic
#3E1058 #581A10 #2A5810 #104E58
square
#3E1058 #581A10 #2A5810 #104E58
split-complementary
#3E1058 #4E5810 #10581A
monochromatic
#12051A #1A0724 #3E1058 #62198C #8723C0

Accessibility & contrast

On white

14.79
#3E1058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3E1058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1058
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1058#FFFFFF#000000##FFFFFF
##3E10581.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265A
Deuteranopia (green-blind)
#002857
Tritanopia (blue-blind)
#3A2133
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e1058;
/* rgb */ color: rgb(62, 16, 88);
/* oklch */ color: oklch(29.2% 0.123 309.8);
Tailwind
colors: {
  custom: {
    50: '#775488',
    500: '#3e1058',
    950: '#000000',
  },
}
SCSS
$custom: #3e1058;
$custom-light: #775488;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1058",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 278.333,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29159,
    "c": 0.12297,
    "h": 309.8
  },
  "luminance": 0.02099
}

Semantic roles & 50–950 ramp

primary
#3E1058
secondary
#559132
accent
#EC3C7B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E1058

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

Preview Lab → · Contrast checker → · Palette generator →

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