#2B043B#2B043B

#2B043B is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.3% C 0.101 H 313.5°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#2B043B
RGBrgb(43, 4, 59)
HSLhsl(283, 87%, 12%)
HSVhsv(283, 93%, 23%)
CMYKcmyk(27.1%, 93.2%, 0%, 76.9%)
CIE-LABlab(8.27, 29.36, -25.82)
CIE-LCHlch(8.27, 39.10, 318.67°)
OKLaboklab(22.26% 0.0693 -0.0731)
OKLCHoklch(22.26% 0.101 313.5)
XYZxyz(1.8290, 0.9163, 4.2173)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B043B #143B04
analogous
#0F043B #2B043B #3B0430
triadic
#2B043B #3B2B04 #043B2B
tetradic
#2B043B #3B0F04 #143B04 #04303B
square
#2B043B #3B0F04 #143B04 #04303B
split-complementary
#2B043B #303B04 #043B0F
monochromatic
#15021D #15021D #2B043B #550874 #7F0CAE

Accessibility & contrast

On white

17.75
#2B043B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2B043B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B043B
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B043B#FFFFFF#000000##FFFFFF
##2B043B1.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163C
Deuteranopia (green-blind)
#00193A
Tritanopia (blue-blind)
#291120
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2b043b;
/* rgb */ color: rgb(43, 4, 59);
/* oklch */ color: oklch(22.3% 0.101 313.5);
Tailwind
colors: {
  custom: {
    50: '#674971',
    500: '#2b043b',
    950: '#000000',
  },
}
SCSS
$custom: #2b043b;
$custom-light: #674971;
$custom-dark: #000000;
JSON
{
  "hex": "#2b043b",
  "rgb": {
    "r": 43,
    "g": 4,
    "b": 59
  },
  "hsl": {
    "h": 282.545,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22261,
    "c": 0.10071,
    "h": 313.5
  },
  "luminance": 0.00916
}

Semantic roles & 50–950 ramp

primary
#2B043B
secondary
#3A7D1E
accent
#FD2A68
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2B043B

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

Preview Lab → · Contrast checker → · Palette generator →

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