#2B063B#2B063B

#2B063B is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.5% C 0.098 H 313.0°. Best body text is #FFFFFF at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#2B063B
RGBrgb(43, 6, 59)
HSLhsl(282, 82%, 13%)
HSVhsv(282, 90%, 23%)
CMYKcmyk(27.1%, 89.8%, 0%, 76.9%)
CIE-LABlab(8.65, 28.26, -25.21)
CIE-LCHlch(8.65, 37.87, 318.27°)
OKLaboklab(22.53% 0.0666 -0.0713)
OKLCHoklch(22.53% 0.098 313)
XYZxyz(1.8507, 0.9597, 4.2246)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B063B #163B06
analogous
#11063B #2B063B #3B0630
triadic
#2B063B #3B2B06 #063B2B
tetradic
#2B063B #3B1106 #163B06 #06303B
square
#2B063B #3B1106 #163B06 #06303B
split-complementary
#2B063B #303B06 #063B11
monochromatic
#14031C #14031C #2B063B #530C73 #7C11AA

Accessibility & contrast

On white

17.62
#2B063B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B063B
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B063B#FFFFFF#000000##FFFFFF
##2B063B1.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173C
Deuteranopia (green-blind)
#021A3A
Tritanopia (blue-blind)
#291220
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b063b;
/* rgb */ color: rgb(43, 6, 59);
/* oklch */ color: oklch(22.5% 0.098 313.0);
Tailwind
colors: {
  custom: {
    50: '#674a71',
    500: '#2b063b',
    950: '#000000',
  },
}
SCSS
$custom: #2b063b;
$custom-light: #674a71;
$custom-dark: #000000;
JSON
{
  "hex": "#2b063b",
  "rgb": {
    "r": 43,
    "g": 6,
    "b": 59
  },
  "hsl": {
    "h": 281.887,
    "s": 81.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22525,
    "c": 0.09757,
    "h": 313
  },
  "luminance": 0.0096
}

Semantic roles & 50–950 ramp

primary
#2B063B
secondary
#3D7B22
accent
#F8306C
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2B063B

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

Preview Lab → · Contrast checker → · Palette generator →

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