#3E125A#3E125A

#3E125A is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.123 H 308.4°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#3E125A
RGBrgb(62, 18, 90)
HSLhsl(277, 67%, 21%)
HSVhsv(277, 80%, 35%)
CMYKcmyk(31.1%, 80%, 0%, 64.7%)
CIE-LABlab(16.48, 34.61, -33.88)
CIE-LCHlch(16.48, 48.44, 315.62°)
OKLaboklab(29.55% 0.0762 -0.0961)
OKLCHoklch(29.55% 0.123 308.4)
XYZxyz(4.0480, 2.1950, 9.8813)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E125A #2E5A12
analogous
#1A125A #3E125A #5A1252
triadic
#3E125A #5A3E12 #125A3E
tetradic
#3E125A #5A1A12 #2E5A12 #12525A
square
#3E125A #5A1A12 #2E5A12 #12525A
split-complementary
#3E125A #525A12 #125A1A
monochromatic
#12051A #1B0827 #3E125A #611C8D #8426C0

Accessibility & contrast

On white

14.59
#3E125A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3E125A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E125A
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E125A#FFFFFF#000000##FFFFFF
##3E125A1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275C
Deuteranopia (green-blind)
#002959
Tritanopia (blue-blind)
#3A2335
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3e125a;
/* rgb */ color: rgb(62, 18, 90);
/* oklch */ color: oklch(29.5% 0.123 308.4);
Tailwind
colors: {
  custom: {
    50: '#775589',
    500: '#3e125a',
    950: '#000000',
  },
}
SCSS
$custom: #3e125a;
$custom-light: #775589;
$custom-dark: #000000;
JSON
{
  "hex": "#3e125a",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 90
  },
  "hsl": {
    "h": 276.667,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.2955,
    "c": 0.1227,
    "h": 308.4
  },
  "luminance": 0.02195
}

Semantic roles & 50–950 ramp

primary
#3E125A
secondary
#5A9335
accent
#EA3E81
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E125A

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

Preview Lab → · Contrast checker → · Palette generator →

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