#2B133F#2B133F

#2B133F is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.082 H 306.4°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#2B133F
RGBrgb(43, 19, 63)
HSLhsl(273, 54%, 16%)
HSVhsv(273, 70%, 25%)
CMYKcmyk(31.7%, 69.8%, 0%, 75.3%)
CIE-LABlab(11.54, 22.17, -23.40)
CIE-LCHlch(11.54, 32.24, 313.45°)
OKLaboklab(24.7% 0.0488 -0.0661)
OKLCHoklch(24.7% 0.082 306.4)
XYZxyz(2.1261, 1.3382, 4.8480)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B133F #273F13
analogous
#15133F #2B133F #3F133D
triadic
#2B133F #3F2B13 #133F2B
tetradic
#2B133F #3F1513 #273F13 #133D3F
square
#2B133F #3F1513 #273F13 #133D3F
split-complementary
#2B133F #3D3F13 #133F15
monochromatic
#100718 #100718 #2B133F #4B216E #6B2F9D

Accessibility & contrast

On white

16.57
#2B133F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2B133F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B133F
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B133F#FFFFFF#000000##FFFFFF
##2B133F1.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011E40
Deuteranopia (green-blind)
#0A1F3E
Tritanopia (blue-blind)
#281C26
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2b133f;
/* rgb */ color: rgb(43, 19, 63);
/* oklch */ color: oklch(24.7% 0.082 306.4);
Tailwind
colors: {
  custom: {
    50: '#665274',
    500: '#2b133f',
    950: '#000000',
  },
}
SCSS
$custom: #2b133f;
$custom-light: #665274;
$custom-dark: #000000;
JSON
{
  "hex": "#2b133f",
  "rgb": {
    "r": 43,
    "g": 19,
    "b": 63
  },
  "hsl": {
    "h": 272.727,
    "s": 53.659,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24695,
    "c": 0.0822,
    "h": 306.4
  },
  "luminance": 0.01338
}

Semantic roles & 50–950 ramp

primary
#2B133F
secondary
#547836
accent
#DD4B8D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2B133F

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

Preview Lab → · Contrast checker → · Palette generator →

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