#2B063D#2B063D

#2B063D is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.100 H 311.5°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#2B063D
RGBrgb(43, 6, 61)
HSLhsl(280, 82%, 13%)
HSVhsv(280, 90%, 24%)
CMYKcmyk(29.5%, 90.2%, 0%, 76.1%)
CIE-LABlab(8.83, 28.75, -26.35)
CIE-LCHlch(8.83, 39.00, 317.50°)
OKLaboklab(22.71% 0.0661 -0.0747)
OKLCHoklch(22.71% 0.1 311.5)
XYZxyz(1.9035, 0.9808, 4.5030)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B063D #183D06
analogous
#0F063D #2B063D #3D0633
triadic
#2B063D #3D2B06 #063D2B
tetradic
#2B063D #3D0F06 #183D06 #06333D
square
#2B063D #3D0F06 #183D06 #06333D
split-complementary
#2B063D #333D06 #063D0F
monochromatic
#14031C #14031C #2B063D #520B75 #7A11AC

Accessibility & contrast

On white

17.56
#2B063D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2B063D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B063D
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B063D#FFFFFF#000000##FFFFFF
##2B063D1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173E
Deuteranopia (green-blind)
#001A3C
Tritanopia (blue-blind)
#291321
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b063d;
/* rgb */ color: rgb(43, 6, 61);
/* oklch */ color: oklch(22.7% 0.100 311.5);
Tailwind
colors: {
  custom: {
    50: '#674b73',
    500: '#2b063d',
    950: '#000000',
  },
}
SCSS
$custom: #2b063d;
$custom-light: #674b73;
$custom-dark: #000000;
JSON
{
  "hex": "#2b063d",
  "rgb": {
    "r": 43,
    "g": 6,
    "b": 61
  },
  "hsl": {
    "h": 280.364,
    "s": 82.09,
    "l": 13.137
  },
  "oklch": {
    "l": 0.22707,
    "c": 0.09972,
    "h": 311.5
  },
  "luminance": 0.00981
}

Semantic roles & 50–950 ramp

primary
#2B063D
secondary
#407D22
accent
#F82F71
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2B063D

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

Preview Lab → · Contrast checker → · Palette generator →

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