#2E1341#2E1341

#2E1341 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.3% C 0.086 H 308.5°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#2E1341
RGBrgb(46, 19, 65)
HSLhsl(275, 55%, 16%)
HSVhsv(275, 71%, 25%)
CMYKcmyk(29.2%, 70.8%, 0%, 74.5%)
CIE-LABlab(12.14, 23.59, -23.82)
CIE-LCHlch(12.14, 33.53, 314.72°)
OKLaboklab(25.28% 0.0535 -0.0672)
OKLCHoklch(25.28% 0.086 308.5)
XYZxyz(2.3135, 1.4283, 5.1538)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1341 #264113
analogous
#171341 #2E1341 #41133D
triadic
#2E1341 #412E13 #13412E
tetradic
#2E1341 #411713 #264113 #133D41
square
#2E1341 #411713 #264113 #133D41
split-complementary
#2E1341 #3D4113 #134117
monochromatic
#110718 #110718 #2E1341 #502170 #712FA0

Accessibility & contrast

On white

16.33
#2E1341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2E1341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1341
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1341#FFFFFF#000000##FFFFFF
##2E13411.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011F42
Deuteranopia (green-blind)
#0C2040
Tritanopia (blue-blind)
#2B1C27
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2e1341;
/* rgb */ color: rgb(46, 19, 65);
/* oklch */ color: oklch(25.3% 0.086 308.5);
Tailwind
colors: {
  custom: {
    50: '#695276',
    500: '#2e1341',
    950: '#000000',
  },
}
SCSS
$custom: #2e1341;
$custom-light: #695276;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1341",
  "rgb": {
    "r": 46,
    "g": 19,
    "b": 65
  },
  "hsl": {
    "h": 275.217,
    "s": 54.762,
    "l": 16.471
  },
  "oklch": {
    "l": 0.25281,
    "c": 0.08592,
    "h": 308.5
  },
  "luminance": 0.01428
}

Semantic roles & 50–950 ramp

primary
#2E1341
secondary
#527A36
accent
#DE4A87
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2E1341

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

Preview Lab → · Contrast checker → · Palette generator →

#2E1341 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva