#2B1349#2B1349

#2B1349 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.5% C 0.096 H 300.0°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#2B1349
RGBrgb(43, 19, 73)
HSLhsl(267, 59%, 18%)
HSVhsv(267, 74%, 29%)
CMYKcmyk(41.1%, 74%, 0%, 71.4%)
CIE-LABlab(12.35, 25.11, -29.10)
CIE-LCHlch(12.35, 38.44, 310.79°)
OKLaboklab(25.54% 0.0479 -0.0829)
OKLCHoklch(25.54% 0.096 300)
XYZxyz(2.4314, 1.4604, 6.4558)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1349 #314913
analogous
#131649 #2B1349 #461349
triadic
#2B1349 #492B13 #13492B
tetradic
#2B1349 #491316 #314913 #134946
square
#2B1349 #491316 #314913 #134946
split-complementary
#2B1349 #494613 #164913
monochromatic
#0E0618 #0E0618 #2B1349 #48207A #642CAA

Accessibility & contrast

On white

16.25
#2B1349 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2B1349 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1349
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1349#FFFFFF#000000##FFFFFF
##2B13491.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204B
Deuteranopia (green-blind)
#002048
Tritanopia (blue-blind)
#241F2C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2b1349;
/* rgb */ color: rgb(43, 19, 73);
/* oklch */ color: oklch(25.5% 0.096 300.0);
Tailwind
colors: {
  custom: {
    50: '#67527c',
    500: '#2b1349',
    950: '#000000',
  },
}
SCSS
$custom: #2b1349;
$custom-light: #67527c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1349",
  "rgb": {
    "r": 43,
    "g": 19,
    "b": 73
  },
  "hsl": {
    "h": 266.667,
    "s": 58.696,
    "l": 18.039
  },
  "oklch": {
    "l": 0.25541,
    "c": 0.09572,
    "h": 300
  },
  "luminance": 0.0146
}

Semantic roles & 50–950 ramp

primary
#2B1349
secondary
#608236
accent
#E2469D
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #2B1349

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

Preview Lab → · Contrast checker → · Palette generator →

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