#2B0D43#2B0D43

#2B0D43 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.097 H 305.6°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#2B0D43
RGBrgb(43, 13, 67)
HSLhsl(273, 68%, 16%)
HSVhsv(273, 81%, 26%)
CMYKcmyk(35.8%, 80.6%, 0%, 73.7%)
CIE-LABlab(10.61, 26.79, -27.74)
CIE-LCHlch(10.61, 38.56, 314.01°)
OKLaboklab(24.13% 0.0564 -0.0788)
OKLCHoklch(24.13% 0.097 305.6)
XYZxyz(2.1531, 1.2067, 5.4286)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0D43 #25430D
analogous
#100D43 #2B0D43 #430D40
triadic
#2B0D43 #432B0D #0D432B
tetradic
#2B0D43 #43100D #25430D #0D4043
square
#2B0D43 #43100D #25430D #0D4043
split-complementary
#2B0D43 #40430D #0D4310
monochromatic
#10051A #10051A #2B0D43 #4C1776 #6D21AA

Accessibility & contrast

On white

16.92
#2B0D43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0D43
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0D43#FFFFFF#000000##FFFFFF
##2B0D431.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C45
Deuteranopia (green-blind)
#001D42
Tritanopia (blue-blind)
#271A27
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2b0d43;
/* rgb */ color: rgb(43, 13, 67);
/* oklch */ color: oklch(24.1% 0.097 305.6);
Tailwind
colors: {
  custom: {
    50: '#674f78',
    500: '#2b0d43',
    950: '#000000',
  },
}
SCSS
$custom: #2b0d43;
$custom-light: #674f78;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0d43",
  "rgb": {
    "r": 43,
    "g": 13,
    "b": 67
  },
  "hsl": {
    "h": 273.333,
    "s": 67.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24129,
    "c": 0.09694,
    "h": 305.6
  },
  "luminance": 0.01207
}

Semantic roles & 50–950 ramp

primary
#2B0D43
secondary
#517E2D
accent
#EA3D8A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2B0D43

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

Preview Lab → · Contrast checker → · Palette generator →

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