#2B2153#2B2153

#2B2153 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 28.9% C 0.087 H 288.9°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#2B2153
RGBrgb(43, 33, 83)
HSLhsl(252, 43%, 23%)
HSVhsv(252, 60%, 33%)
CMYKcmyk(48.2%, 60.2%, 0%, 67.5%)
CIE-LABlab(16.63, 19.12, -29.04)
CIE-LCHlch(16.63, 34.77, 303.36°)
OKLaboklab(28.92% 0.0284 -0.0827)
OKLCHoklch(28.92% 0.087 288.9)
XYZxyz(3.1010, 2.2257, 8.4482)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2153 #495321
analogous
#213053 #2B2153 #442153
triadic
#2B2153 #532B21 #21532B
tetradic
#2B2153 #532130 #495321 #215344
square
#2B2153 #532130 #495321 #215344
split-complementary
#2B2153 #534421 #305321
monochromatic
#0B0916 #141027 #2B2153 #42327F #5844AB

Accessibility & contrast

On white

14.53
#2B2153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2B2153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2153
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2153#FFFFFF#000000##FFFFFF
##2B21531.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062A55
Deuteranopia (green-blind)
#072852
Tritanopia (blue-blind)
#1F2C36
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2b2153;
/* rgb */ color: rgb(43, 33, 83);
/* oklch */ color: oklch(28.9% 0.087 288.9);
Tailwind
colors: {
  custom: {
    50: '#685c84',
    500: '#2b2153',
    950: '#000000',
  },
}
SCSS
$custom: #2b2153;
$custom-light: #685c84;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2153",
  "rgb": {
    "r": 43,
    "g": 33,
    "b": 83
  },
  "hsl": {
    "h": 252,
    "s": 43.103,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28918,
    "c": 0.08744,
    "h": 288.9
  },
  "luminance": 0.02226
}

Semantic roles & 50–950 ramp

primary
#2B2153
secondary
#7B8749
accent
#D355BA
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06040B
muted
#7A797C

Preview Lab

Preview with #2B2153

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

Preview Lab → · Contrast checker → · Palette generator →

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