#2B113F#2B113F

#2B113F is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.086 H 307.2°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#2B113F
RGBrgb(43, 17, 63)
HSLhsl(274, 58%, 16%)
HSVhsv(274, 73%, 25%)
CMYKcmyk(31.7%, 73%, 0%, 75.3%)
CIE-LABlab(11.09, 23.40, -24.13)
CIE-LCHlch(11.09, 33.61, 314.12°)
OKLaboklab(24.37% 0.0517 -0.0682)
OKLCHoklch(24.37% 0.086 307.2)
XYZxyz(2.0937, 1.2734, 4.8372)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B113F #253F11
analogous
#14113F #2B113F #3F113C
triadic
#2B113F #3F2B11 #113F2B
tetradic
#2B113F #3F1411 #253F11 #113C3F
square
#2B113F #3F1411 #253F11 #113C3F
split-complementary
#2B113F #3C3F11 #113F14
monochromatic
#100718 #100718 #2B113F #4C1E6F #6D2B9F

Accessibility & contrast

On white

16.74
#2B113F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2B113F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B113F
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B113F#FFFFFF#000000##FFFFFF
##2B113F1.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D40
Deuteranopia (green-blind)
#081E3E
Tritanopia (blue-blind)
#281B26
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2b113f;
/* rgb */ color: rgb(43, 17, 63);
/* oklch */ color: oklch(24.4% 0.086 307.2);
Tailwind
colors: {
  custom: {
    50: '#665174',
    500: '#2b113f',
    950: '#000000',
  },
}
SCSS
$custom: #2b113f;
$custom-light: #665174;
$custom-dark: #000000;
JSON
{
  "hex": "#2b113f",
  "rgb": {
    "r": 43,
    "g": 17,
    "b": 63
  },
  "hsl": {
    "h": 273.913,
    "s": 57.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24367,
    "c": 0.08564,
    "h": 307.2
  },
  "luminance": 0.01273
}

Semantic roles & 50–950 ramp

primary
#2B113F
secondary
#517833
accent
#E1478A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2B113F

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

Preview Lab → · Contrast checker → · Palette generator →

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