#2B133D#2B133D

#2B133D is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.079 H 307.9°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#2B133D
RGBrgb(43, 19, 61)
HSLhsl(274, 53%, 16%)
HSVhsv(274, 69%, 24%)
CMYKcmyk(29.5%, 68.9%, 0%, 76.1%)
CIE-LABlab(11.39, 21.60, -22.23)
CIE-LCHlch(11.39, 31.00, 314.19°)
OKLaboklab(24.54% 0.0489 -0.0627)
OKLCHoklch(24.54% 0.079 307.9)
XYZxyz(2.0713, 1.3163, 4.5589)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B133D #253D13
analogous
#16133D #2B133D #3D133A
triadic
#2B133D #3D2B13 #133D2B
tetradic
#2B133D #3D1613 #253D13 #133A3D
square
#2B133D #3D1613 #253D13 #133A3D
split-complementary
#2B133D #3A3D13 #133D16
monochromatic
#100717 #100717 #2B133D #4C226C #6D309A

Accessibility & contrast

On white

16.62
#2B133D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2B133D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B133D
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B133D#FFFFFF#000000##FFFFFF
##2B133D1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031D3E
Deuteranopia (green-blind)
#0C1F3C
Tritanopia (blue-blind)
#281B25
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2b133d;
/* rgb */ color: rgb(43, 19, 61);
/* oklch */ color: oklch(24.5% 0.079 307.9);
Tailwind
colors: {
  custom: {
    50: '#665273',
    500: '#2b133d',
    950: '#000000',
  },
}
SCSS
$custom: #2b133d;
$custom-light: #665273;
$custom-dark: #000000;
JSON
{
  "hex": "#2b133d",
  "rgb": {
    "r": 43,
    "g": 19,
    "b": 61
  },
  "hsl": {
    "h": 274.286,
    "s": 52.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24536,
    "c": 0.07947,
    "h": 307.9
  },
  "luminance": 0.01316
}

Semantic roles & 50–950 ramp

primary
#2B133D
secondary
#517536
accent
#DC4C8A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2B133D

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

Preview Lab → · Contrast checker → · Palette generator →

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