#3E246F#3E246F

#3E246F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.8% C 0.123 H 294.9°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#3E246F
RGBrgb(62, 36, 111)
HSLhsl(261, 51%, 29%)
HSVhsv(261, 68%, 44%)
CMYKcmyk(44.1%, 67.6%, 0%, 56.5%)
CIE-LABlab(21.70, 30.72, -39.22)
CIE-LCHlch(21.70, 49.82, 308.07°)
OKLaboklab(33.83% 0.0519 -0.1119)
OKLCHoklch(33.83% 0.123 294.9)
XYZxyz(5.4860, 3.4335, 15.4095)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E246F #556F24
analogous
#24306F #3E246F #64246F
triadic
#3E246F #6F3E24 #246F3E
tetradic
#3E246F #6F2430 #556F24 #246F64
square
#3E246F #6F2430 #556F24 #246F64
split-complementary
#3E246F #6F6424 #306F24
monochromatic
#0D0717 #241541 #3E246F #58339D #7449C4

Accessibility & contrast

On white

12.45
#3E246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#3E246F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E246F
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E246F#FFFFFF#000000##FFFFFF
##3E246F1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#313546
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3e246f;
/* rgb */ color: rgb(62, 36, 111);
/* oklch */ color: oklch(33.8% 0.123 294.9);
Tailwind
colors: {
  custom: {
    50: '#786099',
    500: '#3e246f',
    950: '#000000',
  },
}
SCSS
$custom: #3e246f;
$custom-light: #786099;
$custom-dark: #000000;
JSON
{
  "hex": "#3e246f",
  "rgb": {
    "r": 62,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 260.8,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33829,
    "c": 0.1234,
    "h": 294.9
  },
  "luminance": 0.03434
}

Semantic roles & 50–950 ramp

primary
#3E246F
secondary
#84A24D
accent
#DA4DAA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3E246F

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

Preview Lab → · Contrast checker → · Palette generator →

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