#2E0935#2E0935

#2E0935 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.088 H 320.8°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#2E0935
RGBrgb(46, 9, 53)
HSLhsl(290, 71%, 12%)
HSVhsv(290, 83%, 21%)
CMYKcmyk(13.2%, 83%, 0%, 79.2%)
CIE-LABlab(9.27, 26.00, -19.84)
CIE-LCHlch(9.27, 32.70, 322.65°)
OKLaboklab(22.92% 0.0681 -0.0555)
OKLCHoklch(22.92% 0.088 320.8)
XYZxyz(1.8669, 1.0334, 3.4686)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0935 #103509
analogous
#180935 #2E0935 #350926
triadic
#2E0935 #352E09 #09352E
tetradic
#2E0935 #351809 #103509 #092635
square
#2E0935 #351809 #103509 #092635
split-complementary
#2E0935 #263509 #093518
monochromatic
#17041A #17041A #2E0935 #5B1269 #891B9E

Accessibility & contrast

On white

17.40
#2E0935 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2E0935 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0935
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0935#FFFFFF#000000##FFFFFF
##2E09351.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001736
Deuteranopia (green-blind)
#0E1B34
Tritanopia (blue-blind)
#2E111E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2e0935;
/* rgb */ color: rgb(46, 9, 53);
/* oklch */ color: oklch(22.9% 0.088 320.8);
Tailwind
colors: {
  custom: {
    50: '#694c6c',
    500: '#2e0935',
    950: '#000000',
  },
}
SCSS
$custom: #2e0935;
$custom-light: #694c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0935",
  "rgb": {
    "r": 46,
    "g": 9,
    "b": 53
  },
  "hsl": {
    "h": 290.455,
    "s": 70.968,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22918,
    "c": 0.08783,
    "h": 320.8
  },
  "luminance": 0.01033
}

Semantic roles & 50–950 ramp

primary
#2E0935
secondary
#337327
accent
#EE3A57
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E0935

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

Preview Lab → · Contrast checker → · Palette generator →

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