#2B103D#2B103D

#2B103D is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.0% C 0.085 H 309.0°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#2B103D
RGBrgb(43, 16, 61)
HSLhsl(276, 58%, 15%)
HSVhsv(276, 74%, 24%)
CMYKcmyk(29.5%, 73.8%, 0%, 76.1%)
CIE-LABlab(10.71, 23.44, -23.31)
CIE-LCHlch(10.71, 33.06, 315.16°)
OKLaboklab(24.05% 0.0533 -0.0658)
OKLCHoklch(24.05% 0.085 309)
XYZxyz(2.0237, 1.2211, 4.5431)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B103D #223D10
analogous
#14103D #2B103D #3D1038
triadic
#2B103D #3D2B10 #103D2B
tetradic
#2B103D #3D1410 #223D10 #10383D
square
#2B103D #3D1410 #223D10 #10383D
split-complementary
#2B103D #383D10 #103D14
monochromatic
#110618 #110618 #2B103D #4D1D6D #6F299E

Accessibility & contrast

On white

16.88
#2B103D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2B103D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B103D
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B103D#FFFFFF#000000##FFFFFF
##2B103D1.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3E
Deuteranopia (green-blind)
#091D3C
Tritanopia (blue-blind)
#281924
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2b103d;
/* rgb */ color: rgb(43, 16, 61);
/* oklch */ color: oklch(24.0% 0.085 309.0);
Tailwind
colors: {
  custom: {
    50: '#665073',
    500: '#2b103d',
    950: '#000000',
  },
}
SCSS
$custom: #2b103d;
$custom-light: #665073;
$custom-dark: #000000;
JSON
{
  "hex": "#2b103d",
  "rgb": {
    "r": 43,
    "g": 16,
    "b": 61
  },
  "hsl": {
    "h": 276,
    "s": 58.442,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24046,
    "c": 0.08472,
    "h": 309
  },
  "luminance": 0.01221
}

Semantic roles & 50–950 ramp

primary
#2B103D
secondary
#4D7732
accent
#E24684
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2B103D

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

Preview Lab → · Contrast checker → · Palette generator →

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