#2B1053#2B1053

#2B1053 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.0% C 0.113 H 295.9°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#2B1053
RGBrgb(43, 16, 83)
HSLhsl(264, 68%, 19%)
HSVhsv(264, 81%, 33%)
CMYKcmyk(48.2%, 80.7%, 0%, 67.5%)
CIE-LABlab(12.66, 29.81, -35.48)
CIE-LCHlch(12.66, 46.34, 310.04°)
OKLaboklab(26.05% 0.0493 -0.1016)
OKLCHoklch(26.05% 0.113 295.9)
XYZxyz(2.7425, 1.5086, 8.3286)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1053 #385310
analogous
#101753 #2B1053 #4D1053
triadic
#2B1053 #532B10 #10532B
tetradic
#2B1053 #531017 #385310 #10534D
square
#2B1053 #531017 #385310 #10534D
split-complementary
#2B1053 #534D10 #175310
monochromatic
#0D051A #100620 #2B1053 #461A86 #6024BA

Accessibility & contrast

On white

16.13
#2B1053 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#2B1053 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1053
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1053#FFFFFF#000000##FFFFFF
##2B10531.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002155
Deuteranopia (green-blind)
#002052
Tritanopia (blue-blind)
#202230
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2b1053;
/* rgb */ color: rgb(43, 16, 83);
/* oklch */ color: oklch(26.0% 0.113 295.9);
Tailwind
colors: {
  custom: {
    50: '#695184',
    500: '#2b1053',
    950: '#000000',
  },
}
SCSS
$custom: #2b1053;
$custom-light: #695184;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1053",
  "rgb": {
    "r": 43,
    "g": 16,
    "b": 83
  },
  "hsl": {
    "h": 264.179,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26047,
    "c": 0.11291,
    "h": 295.9
  },
  "luminance": 0.01509
}

Semantic roles & 50–950 ramp

primary
#2B1053
secondary
#688D32
accent
#EB3DA5
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2B1053

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

Preview Lab → · Contrast checker → · Palette generator →

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