#2B133E#2B133E

#2B133E is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.081 H 307.2°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#2B133E
RGBrgb(43, 19, 62)
HSLhsl(273, 53%, 16%)
HSVhsv(273, 69%, 24%)
CMYKcmyk(30.6%, 69.4%, 0%, 75.7%)
CIE-LABlab(11.46, 21.89, -22.82)
CIE-LCHlch(11.46, 31.62, 313.81°)
OKLaboklab(24.62% 0.0489 -0.0644)
OKLCHoklch(24.62% 0.081 307.2)
XYZxyz(2.0985, 1.3272, 4.7021)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B133E #263E13
analogous
#15133E #2B133E #3E133B
triadic
#2B133E #3E2B13 #133E2B
tetradic
#2B133E #3E1513 #263E13 #133B3E
square
#2B133E #3E1513 #263E13 #133B3E
split-complementary
#2B133E #3B3E13 #133E15
monochromatic
#100717 #100717 #2B133E #4B216D #6C309C

Accessibility & contrast

On white

16.60
#2B133E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B133E
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B133E#FFFFFF#000000##FFFFFF
##2B133E1.0016.601.2716.60
#FFFFFF16.601.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021E3F
Deuteranopia (green-blind)
#0B1F3D
Tritanopia (blue-blind)
#281B26
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2b133e;
/* rgb */ color: rgb(43, 19, 62);
/* oklch */ color: oklch(24.6% 0.081 307.2);
Tailwind
colors: {
  custom: {
    50: '#665273',
    500: '#2b133e',
    950: '#000000',
  },
}
SCSS
$custom: #2b133e;
$custom-light: #665273;
$custom-dark: #000000;
JSON
{
  "hex": "#2b133e",
  "rgb": {
    "r": 43,
    "g": 19,
    "b": 62
  },
  "hsl": {
    "h": 273.488,
    "s": 53.086,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24615,
    "c": 0.08084,
    "h": 307.2
  },
  "luminance": 0.01327
}

Semantic roles & 50–950 ramp

primary
#2B133E
secondary
#537736
accent
#DC4B8B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2B133E

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

Preview Lab → · Contrast checker → · Palette generator →

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