#2B063A#2B063A

#2B063A is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.4% C 0.097 H 313.8°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#2B063A
RGBrgb(43, 6, 58)
HSLhsl(283, 81%, 13%)
HSVhsv(283, 90%, 23%)
CMYKcmyk(25.9%, 89.7%, 0%, 77.3%)
CIE-LABlab(8.56, 28.02, -24.63)
CIE-LCHlch(8.56, 37.30, 318.68°)
OKLaboklab(22.44% 0.0668 -0.0696)
OKLCHoklch(22.44% 0.097 313.8)
XYZxyz(1.8250, 0.9494, 4.0893)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B063A #153A06
analogous
#11063A #2B063A #3A062F
triadic
#2B063A #3A2B06 #063A2B
tetradic
#2B063A #3A1106 #153A06 #062F3A
square
#2B063A #3A1106 #153A06 #062F3A
split-complementary
#2B063A #2F3A06 #063A11
monochromatic
#15031C #15031C #2B063A #540C71 #7D11A9

Accessibility & contrast

On white

17.65
#2B063A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2B063A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B063A
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B063A#FFFFFF#000000##FFFFFF
##2B063A1.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173B
Deuteranopia (green-blind)
#031939
Tritanopia (blue-blind)
#291220
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b063a;
/* rgb */ color: rgb(43, 6, 58);
/* oklch */ color: oklch(22.4% 0.097 313.8);
Tailwind
colors: {
  custom: {
    50: '#674a70',
    500: '#2b063a',
    950: '#000000',
  },
}
SCSS
$custom: #2b063a;
$custom-light: #674a70;
$custom-dark: #000000;
JSON
{
  "hex": "#2b063a",
  "rgb": {
    "r": 43,
    "g": 6,
    "b": 58
  },
  "hsl": {
    "h": 282.692,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22435,
    "c": 0.09651,
    "h": 313.8
  },
  "luminance": 0.00949
}

Semantic roles & 50–950 ramp

primary
#2B063A
secondary
#3B7A22
accent
#F8306A
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B063A

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

Preview Lab → · Contrast checker → · Palette generator →

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