#2B113E#2B113E

#2B113E is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.3% C 0.084 H 307.9°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#2B113E
RGBrgb(43, 17, 62)
HSLhsl(275, 57%, 15%)
HSVhsv(275, 73%, 24%)
CMYKcmyk(30.6%, 72.6%, 0%, 75.7%)
CIE-LABlab(11.01, 23.12, -23.55)
CIE-LCHlch(11.01, 33.00, 314.48°)
OKLaboklab(24.29% 0.0518 -0.0665)
OKLCHoklch(24.29% 0.084 307.9)
XYZxyz(2.0660, 1.2623, 4.6913)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B113E #243E11
analogous
#14113E #2B113E #3E113A
triadic
#2B113E #3E2B11 #113E2B
tetradic
#2B113E #3E1411 #243E11 #113A3E
square
#2B113E #3E1411 #243E11 #113A3E
split-complementary
#2B113E #3A3E11 #113E14
monochromatic
#110718 #110718 #2B113E #4C1E6E #6E2B9E

Accessibility & contrast

On white

16.77
#2B113E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B113E
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B113E#FFFFFF#000000##FFFFFF
##2B113E1.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D3F
Deuteranopia (green-blind)
#091E3D
Tritanopia (blue-blind)
#281A25
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2b113e;
/* rgb */ color: rgb(43, 17, 62);
/* oklch */ color: oklch(24.3% 0.084 307.9);
Tailwind
colors: {
  custom: {
    50: '#665173',
    500: '#2b113e',
    950: '#000000',
  },
}
SCSS
$custom: #2b113e;
$custom-light: #665173;
$custom-dark: #000000;
JSON
{
  "hex": "#2b113e",
  "rgb": {
    "r": 43,
    "g": 17,
    "b": 62
  },
  "hsl": {
    "h": 274.667,
    "s": 56.962,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24285,
    "c": 0.08433,
    "h": 307.9
  },
  "luminance": 0.01262
}

Semantic roles & 50–950 ramp

primary
#2B113E
secondary
#507733
accent
#E04888
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2B113E

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

Preview Lab → · Contrast checker → · Palette generator →

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