#2E1344#2E1344

#2E1344 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.5% C 0.090 H 306.4°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#2E1344
RGBrgb(46, 19, 68)
HSLhsl(273, 56%, 17%)
HSVhsv(273, 72%, 27%)
CMYKcmyk(32.4%, 72.1%, 0%, 73.3%)
CIE-LABlab(12.38, 24.43, -25.56)
CIE-LCHlch(12.38, 35.35, 313.71°)
OKLaboklab(25.52% 0.0533 -0.0723)
OKLCHoklch(25.52% 0.09 306.4)
XYZxyz(2.4028, 1.4640, 5.6237)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1344 #294413
analogous
#151344 #2E1344 #441342
triadic
#2E1344 #442E13 #13442E
tetradic
#2E1344 #441513 #294413 #134244
square
#2E1344 #441513 #294413 #134244
split-complementary
#2E1344 #424413 #134415
monochromatic
#100718 #100718 #2E1344 #4E2074 #6F2EA4

Accessibility & contrast

On white

16.24
#2E1344 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E1344
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1344#FFFFFF#000000##FFFFFF
##2E13441.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F46
Deuteranopia (green-blind)
#082043
Tritanopia (blue-blind)
#2A1D29
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2e1344;
/* rgb */ color: rgb(46, 19, 68);
/* oklch */ color: oklch(25.5% 0.090 306.4);
Tailwind
colors: {
  custom: {
    50: '#695278',
    500: '#2e1344',
    950: '#000000',
  },
}
SCSS
$custom: #2e1344;
$custom-light: #695278;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1344",
  "rgb": {
    "r": 46,
    "g": 19,
    "b": 68
  },
  "hsl": {
    "h": 273.061,
    "s": 56.322,
    "l": 17.059
  },
  "oklch": {
    "l": 0.25523,
    "c": 0.08985,
    "h": 306.4
  },
  "luminance": 0.01464
}

Semantic roles & 50–950 ramp

primary
#2E1344
secondary
#567D36
accent
#E0488C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2E1344

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

Preview Lab → · Contrast checker → · Palette generator →

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