#2B136A#2B136A

#2B136A is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.138 H 286.6°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#2B136A
RGBrgb(43, 19, 106)
HSLhsl(257, 70%, 25%)
HSVhsv(257, 82%, 42%)
CMYKcmyk(59.4%, 82.1%, 0%, 58.4%)
CIE-LABlab(15.59, 35.25, -46.05)
CIE-LCHlch(15.59, 57.99, 307.44°)
OKLaboklab(28.82% 0.0396 -0.1326)
OKLCHoklch(28.82% 0.138 286.6)
XYZxyz(3.8299, 2.0197, 13.8209)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B136A #526A13
analogous
#13266A #2B136A #57136A
triadic
#2B136A #6A2B13 #136A2B
tetradic
#2B136A #6A1326 #526A13 #136A57
square
#2B136A #6A1326 #526A13 #136A57
split-complementary
#2B136A #6A5713 #266A13
monochromatic
#0B051A #160A36 #2B136A #401C9E #5526D2

Accessibility & contrast

On white

14.96
#2B136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2B136A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B136A
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B136A#FFFFFF#000000##FFFFFF
##2B136A1.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002468
Tritanopia (blue-blind)
#0D2C3E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2b136a;
/* rgb */ color: rgb(43, 19, 106);
/* oklch */ color: oklch(28.8% 0.138 286.6);
Tailwind
colors: {
  custom: {
    50: '#6d5496',
    500: '#2b136a',
    950: '#000000',
  },
}
SCSS
$custom: #2b136a;
$custom-light: #6d5496;
$custom-dark: #000000;
JSON
{
  "hex": "#2b136a",
  "rgb": {
    "r": 43,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 256.552,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28823,
    "c": 0.13836,
    "h": 286.6
  },
  "luminance": 0.0202
}

Semantic roles & 50–950 ramp

primary
#2B136A
secondary
#84A138
accent
#EC3BBC
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2B136A

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

Preview Lab → · Contrast checker → · Palette generator →

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