#2B183C#2B183C

#2B183C is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.4% C 0.069 H 306.5°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#2B183C
RGBrgb(43, 24, 60)
HSLhsl(272, 43%, 16%)
HSVhsv(272, 60%, 24%)
CMYKcmyk(28.3%, 60%, 0%, 76.5%)
CIE-LABlab(12.56, 18.03, -19.64)
CIE-LCHlch(12.56, 26.66, 312.55°)
OKLaboklab(25.38% 0.0408 -0.0551)
OKLCHoklch(25.38% 0.069 306.5)
XYZxyz(2.1383, 1.4931, 4.4496)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B183C #293C18
analogous
#19183C #2B183C #3C183B
triadic
#2B183C #3C2B18 #183C2B
tetradic
#2B183C #3C1918 #293C18 #183B3C
square
#2B183C #3C1918 #293C18 #183B3C
split-complementary
#2B183C #3B3C18 #183C19
monochromatic
#100916 #100916 #2B183C #4A2968 #6A3B93

Accessibility & contrast

On white

16.17
#2B183C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#2B183C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B183C
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B183C#FFFFFF#000000##FFFFFF
##2B183C1.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D203D
Deuteranopia (green-blind)
#13213B
Tritanopia (blue-blind)
#281E27
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2b183c;
/* rgb */ color: rgb(43, 24, 60);
/* oklch */ color: oklch(25.4% 0.069 306.5);
Tailwind
colors: {
  custom: {
    50: '#655572',
    500: '#2b183c',
    950: '#000000',
  },
}
SCSS
$custom: #2b183c;
$custom-light: #655572;
$custom-dark: #000000;
JSON
{
  "hex": "#2b183c",
  "rgb": {
    "r": 43,
    "g": 24,
    "b": 60
  },
  "hsl": {
    "h": 271.667,
    "s": 42.857,
    "l": 16.471
  },
  "oklch": {
    "l": 0.25376,
    "c": 0.06859,
    "h": 306.5
  },
  "luminance": 0.01493
}

Semantic roles & 50–950 ramp

primary
#2B183C
secondary
#56723E
accent
#D35590
background
#F6F5F6
surface
#EBE8EC
border
#C6C4C7
text
#060308
muted
#7A787B

Preview Lab

Preview with #2B183C

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

Preview Lab → · Contrast checker → · Palette generator →

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