#2B053F#2B053F

#2B053F is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.103 H 310.2°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#2B053F
RGBrgb(43, 5, 63)
HSLhsl(279, 85%, 13%)
HSVhsv(279, 92%, 25%)
CMYKcmyk(31.7%, 92.1%, 0%, 75.3%)
CIE-LABlab(8.83, 29.78, -27.78)
CIE-LCHlch(8.83, 40.73, 316.99°)
OKLaboklab(22.77% 0.0668 -0.0789)
OKLCHoklch(22.77% 0.103 310.2)
XYZxyz(1.9476, 0.9811, 4.7884)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B053F #193F05
analogous
#0E053F #2B053F #3F0536
triadic
#2B053F #3F2B05 #053F2B
tetradic
#2B053F #3F0E05 #193F05 #05363F
square
#2B053F #3F0E05 #193F05 #05363F
split-complementary
#2B053F #363F05 #053F0E
monochromatic
#13021C #13021C #2B053F #520978 #780EB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B053F#FFFFFF#000000##FFFFFF
##2B053F1.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)
#001841
Deuteranopia (green-blind)
#001A3E
Tritanopia (blue-blind)
#281422
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b053f;
/* rgb */ color: rgb(43, 5, 63);
/* oklch */ color: oklch(22.8% 0.103 310.2);
Tailwind
colors: {
  custom: {
    50: '#674a74',
    500: '#2b053f',
    950: '#000000',
  },
}
SCSS
$custom: #2b053f;
$custom-light: #674a74;
$custom-dark: #000000;
JSON
{
  "hex": "#2b053f",
  "rgb": {
    "r": 43,
    "g": 5,
    "b": 63
  },
  "hsl": {
    "h": 279.31,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22767,
    "c": 0.10334,
    "h": 310.2
  },
  "luminance": 0.00981
}

Semantic roles & 50–950 ramp

primary
#2B053F
secondary
#418020
accent
#FC2C74
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2B053F

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

Preview Lab → · Contrast checker → · Palette generator →

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