#2D093B#2D093B

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

Color values

HEX#2D093B
RGBrgb(45, 9, 59)
HSLhsl(283, 74%, 13%)
HSVhsv(283, 85%, 23%)
CMYKcmyk(23.7%, 84.7%, 0%, 76.9%)
CIE-LABlab(9.55, 27.18, -23.73)
CIE-LCHlch(9.55, 36.08, 318.88°)
OKLaboklab(23.24% 0.0659 -0.0669)
OKLCHoklch(23.24% 0.094 314.5)
XYZxyz(1.9692, 1.0691, 4.2395)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D093B #173B09
analogous
#14093B #2D093B #3B0930
triadic
#2D093B #3B2D09 #093B2D
tetradic
#2D093B #3B1409 #173B09 #09303B
square
#2D093B #3B1409 #173B09 #09303B
split-complementary
#2D093B #303B09 #093B14
monochromatic
#14041B #14041B #2D093B #551170 #7E19A5

Accessibility & contrast

On white

17.30
#2D093B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D093B
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D093B#FFFFFF#000000##FFFFFF
##2D093B1.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193C
Deuteranopia (green-blind)
#071B3A
Tritanopia (blue-blind)
#2C1421
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d093b;
/* rgb */ color: rgb(45, 9, 59);
/* oklch */ color: oklch(23.2% 0.094 314.5);
Tailwind
colors: {
  custom: {
    50: '#684c71',
    500: '#2d093b',
    950: '#000000',
  },
}
SCSS
$custom: #2d093b;
$custom-light: #684c71;
$custom-dark: #000000;
JSON
{
  "hex": "#2d093b",
  "rgb": {
    "r": 45,
    "g": 9,
    "b": 59
  },
  "hsl": {
    "h": 283.2,
    "s": 73.529,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23237,
    "c": 0.09391,
    "h": 314.5
  },
  "luminance": 0.01069
}

Semantic roles & 50–950 ramp

primary
#2D093B
secondary
#3E7927
accent
#F0386B
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2D093B

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

Preview Lab → · Contrast checker → · Palette generator →

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