#2B134A#2B134A

#2B134A is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.6% C 0.097 H 299.5°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#2B134A
RGBrgb(43, 19, 74)
HSLhsl(266, 59%, 18%)
HSVhsv(266, 74%, 29%)
CMYKcmyk(41.9%, 74.3%, 0%, 71%)
CIE-LABlab(12.44, 25.41, -29.66)
CIE-LCHlch(12.44, 39.05, 310.59°)
OKLaboklab(25.63% 0.0478 -0.0845)
OKLCHoklch(25.63% 0.097 299.5)
XYZxyz(2.4649, 1.4737, 6.6318)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B134A #324A13
analogous
#13164A #2B134A #46134A
triadic
#2B134A #4A2B13 #134A2B
tetradic
#2B134A #4A1316 #324A13 #134A46
square
#2B134A #4A1316 #324A13 #134A46
split-complementary
#2B134A #4A4613 #164A13
monochromatic
#0E0618 #0F0619 #2B134A #47207B #642CAB

Accessibility & contrast

On white

16.22
#2B134A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2B134A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B134A
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B134A#FFFFFF#000000##FFFFFF
##2B134A1.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204C
Deuteranopia (green-blind)
#002049
Tritanopia (blue-blind)
#24202C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2b134a;
/* rgb */ color: rgb(43, 19, 74);
/* oklch */ color: oklch(25.6% 0.097 299.5);
Tailwind
colors: {
  custom: {
    50: '#68527d',
    500: '#2b134a',
    950: '#000000',
  },
}
SCSS
$custom: #2b134a;
$custom-light: #68527d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b134a",
  "rgb": {
    "r": 43,
    "g": 19,
    "b": 74
  },
  "hsl": {
    "h": 266.182,
    "s": 59.14,
    "l": 18.235
  },
  "oklch": {
    "l": 0.2563,
    "c": 0.09706,
    "h": 299.5
  },
  "luminance": 0.01474
}

Semantic roles & 50–950 ramp

primary
#2B134A
secondary
#618336
accent
#E2459E
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #2B134A

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

Preview Lab → · Contrast checker → · Palette generator →

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