#2E093B#2E093B

#2E093B is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.094 H 315.6°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#2E093B
RGBrgb(46, 9, 59)
HSLhsl(284, 74%, 13%)
HSVhsv(284, 85%, 23%)
CMYKcmyk(22%, 84.7%, 0%, 76.9%)
CIE-LABlab(9.74, 27.42, -23.43)
CIE-LCHlch(9.74, 36.06, 319.49°)
OKLaboklab(23.4% 0.0674 -0.066)
OKLCHoklch(23.4% 0.094 315.6)
XYZxyz(2.0137, 1.0921, 4.2415)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E093B #163B09
analogous
#15093B #2E093B #3B092F
triadic
#2E093B #3B2E09 #093B2E
tetradic
#2E093B #3B1509 #163B09 #092F3B
square
#2E093B #3B1509 #163B09 #092F3B
split-complementary
#2E093B #2F3B09 #093B15
monochromatic
#15041B #15041B #2E093B #571170 #8119A5

Accessibility & contrast

On white

17.24
#2E093B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2E093B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E093B
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E093B#FFFFFF#000000##FFFFFF
##2E093B1.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193C
Deuteranopia (green-blind)
#081C3A
Tritanopia (blue-blind)
#2D1421
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2e093b;
/* rgb */ color: rgb(46, 9, 59);
/* oklch */ color: oklch(23.4% 0.094 315.6);
Tailwind
colors: {
  custom: {
    50: '#694c71',
    500: '#2e093b',
    950: '#000000',
  },
}
SCSS
$custom: #2e093b;
$custom-light: #694c71;
$custom-dark: #000000;
JSON
{
  "hex": "#2e093b",
  "rgb": {
    "r": 46,
    "g": 9,
    "b": 59
  },
  "hsl": {
    "h": 284.4,
    "s": 73.529,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23402,
    "c": 0.09435,
    "h": 315.6
  },
  "luminance": 0.01092
}

Semantic roles & 50–950 ramp

primary
#2E093B
secondary
#3C7927
accent
#F03868
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2E093B

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

Preview Lab → · Contrast checker → · Palette generator →

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