#2E1949#2E1949

#2E1949 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 26.9% C 0.086 H 300.9°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#2E1949
RGBrgb(46, 25, 73)
HSLhsl(266, 49%, 19%)
HSVhsv(266, 66%, 29%)
CMYKcmyk(37%, 65.8%, 0%, 71.4%)
CIE-LABlab(14.16, 22.13, -26.17)
CIE-LCHlch(14.16, 34.28, 310.22°)
OKLaboklab(26.94% 0.0444 -0.0742)
OKLCHoklch(26.94% 0.086 300.9)
XYZxyz(2.6767, 1.7571, 6.5002)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1949 #344919
analogous
#191C49 #2E1949 #461949
triadic
#2E1949 #492E19 #19492E
tetradic
#2E1949 #49191C #344919 #194946
square
#2E1949 #49191C #344919 #194946
split-complementary
#2E1949 #494619 #1C4919
monochromatic
#0E0817 #11091B #2E1949 #4B2977 #6738A4

Accessibility & contrast

On white

15.54
#2E1949 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#2E1949 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1949
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1949#FFFFFF#000000##FFFFFF
##2E19491.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02244B
Deuteranopia (green-blind)
#0B2448
Tritanopia (blue-blind)
#28232E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2e1949;
/* rgb */ color: rgb(46, 25, 73);
/* oklch */ color: oklch(26.9% 0.086 300.9);
Tailwind
colors: {
  custom: {
    50: '#69577c',
    500: '#2e1949',
    950: '#000000',
  },
}
SCSS
$custom: #2e1949;
$custom-light: #69577c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1949",
  "rgb": {
    "r": 46,
    "g": 25,
    "b": 73
  },
  "hsl": {
    "h": 266.25,
    "s": 48.98,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2694,
    "c": 0.08645,
    "h": 300.9
  },
  "luminance": 0.01757
}

Semantic roles & 50–950 ramp

primary
#2E1949
secondary
#637F3E
accent
#D94F9C
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#060309
muted
#7A787B

Preview Lab

Preview with #2E1949

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

Preview Lab → · Contrast checker → · Palette generator →

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