#2B0D44#2B0D44

#2B0D44 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.098 H 304.9°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#2B0D44
RGBrgb(43, 13, 68)
HSLhsl(273, 68%, 16%)
HSVhsv(273, 81%, 27%)
CMYKcmyk(36.8%, 80.9%, 0%, 73.3%)
CIE-LABlab(10.70, 27.07, -28.30)
CIE-LCHlch(10.70, 39.16, 313.73°)
OKLaboklab(24.22% 0.0562 -0.0805)
OKLCHoklch(24.22% 0.098 304.9)
XYZxyz(2.1833, 1.2188, 5.5880)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0D44 #26440D
analogous
#0F0D44 #2B0D44 #440D41
triadic
#2B0D44 #442B0D #0D442B
tetradic
#2B0D44 #440F0D #26440D #0D4144
square
#2B0D44 #440F0D #26440D #0D4144
split-complementary
#2B0D44 #41440D #0D440F
monochromatic
#10051A #10051A #2B0D44 #4B1777 #6C21AB

Accessibility & contrast

On white

16.88
#2B0D44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2B0D44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0D44
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0D44#FFFFFF#000000##FFFFFF
##2B0D441.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C46
Deuteranopia (green-blind)
#001D43
Tritanopia (blue-blind)
#261A27
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2b0d44;
/* rgb */ color: rgb(43, 13, 68);
/* oklch */ color: oklch(24.2% 0.098 304.9);
Tailwind
colors: {
  custom: {
    50: '#674f78',
    500: '#2b0d44',
    950: '#000000',
  },
}
SCSS
$custom: #2b0d44;
$custom-light: #674f78;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0d44",
  "rgb": {
    "r": 43,
    "g": 13,
    "b": 68
  },
  "hsl": {
    "h": 272.727,
    "s": 67.901,
    "l": 15.882
  },
  "oklch": {
    "l": 0.2422,
    "c": 0.09818,
    "h": 304.9
  },
  "luminance": 0.01219
}

Semantic roles & 50–950 ramp

primary
#2B0D44
secondary
#537F2D
accent
#EB3D8C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2B0D44

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

Preview Lab → · Contrast checker → · Palette generator →

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