#2B153E#2B153E

#2B153E is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 25.0% C 0.077 H 306.4°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#2B153E
RGBrgb(43, 21, 62)
HSLhsl(272, 49%, 16%)
HSVhsv(272, 66%, 24%)
CMYKcmyk(30.6%, 66.1%, 0%, 75.7%)
CIE-LABlab(11.94, 20.61, -22.05)
CIE-LCHlch(11.94, 30.18, 313.06°)
OKLaboklab(24.96% 0.0458 -0.0622)
OKLCHoklch(24.96% 0.077 306.4)
XYZxyz(2.1337, 1.3977, 4.7139)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B153E #283E15
analogous
#17153E #2B153E #3E153D
triadic
#2B153E #3E2B15 #153E2B
tetradic
#2B153E #3E1715 #283E15 #153D3E
square
#2B153E #3E1715 #283E15 #153D3E
split-complementary
#2B153E #3D3E15 #153E17
monochromatic
#100817 #100817 #2B153E #4B246C #6A3499

Accessibility & contrast

On white

16.41
#2B153E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2B153E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B153E
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B153E#FFFFFF#000000##FFFFFF
##2B153E1.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061F3F
Deuteranopia (green-blind)
#0E203D
Tritanopia (blue-blind)
#281D27
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2b153e;
/* rgb */ color: rgb(43, 21, 62);
/* oklch */ color: oklch(25.0% 0.077 306.4);
Tailwind
colors: {
  custom: {
    50: '#665373',
    500: '#2b153e',
    950: '#000000',
  },
}
SCSS
$custom: #2b153e;
$custom-light: #665373;
$custom-dark: #000000;
JSON
{
  "hex": "#2b153e",
  "rgb": {
    "r": 43,
    "g": 21,
    "b": 62
  },
  "hsl": {
    "h": 272.195,
    "s": 49.398,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24964,
    "c": 0.07721,
    "h": 306.4
  },
  "luminance": 0.01398
}

Semantic roles & 50–950 ramp

primary
#2B153E
secondary
#557639
accent
#D94F8F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2B153E

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

Preview Lab → · Contrast checker → · Palette generator →

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