#2B134F#2B134F

#2B134F is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.1% C 0.104 H 296.9°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#2B134F
RGBrgb(43, 19, 79)
HSLhsl(264, 61%, 19%)
HSVhsv(264, 76%, 31%)
CMYKcmyk(45.6%, 75.9%, 0%, 69%)
CIE-LABlab(12.88, 26.92, -32.38)
CIE-LCHlch(12.88, 42.11, 309.74°)
OKLaboklab(26.09% 0.0469 -0.0925)
OKLCHoklch(26.09% 0.104 296.9)
XYZxyz(2.6400, 1.5438, 7.5545)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B134F #374F13
analogous
#13194F #2B134F #49134F
triadic
#2B134F #4F2B13 #134F2B
tetradic
#2B134F #4F1319 #374F13 #134F49
square
#2B134F #4F1319 #374F13 #134F49
split-complementary
#2B134F #4F4913 #194F13
monochromatic
#0D0619 #10071E #2B134F #461F80 #612BB2

Accessibility & contrast

On white

16.05
#2B134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#2B134F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B134F
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B134F#FFFFFF#000000##FFFFFF
##2B134F1.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002251
Deuteranopia (green-blind)
#00214E
Tritanopia (blue-blind)
#22222F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2b134f;
/* rgb */ color: rgb(43, 19, 79);
/* oklch */ color: oklch(26.1% 0.104 296.9);
Tailwind
colors: {
  custom: {
    50: '#685381',
    500: '#2b134f',
    950: '#000000',
  },
}
SCSS
$custom: #2b134f;
$custom-light: #685381;
$custom-dark: #000000;
JSON
{
  "hex": "#2b134f",
  "rgb": {
    "r": 43,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 264,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26087,
    "c": 0.10373,
    "h": 296.9
  },
  "luminance": 0.01544
}

Semantic roles & 50–950 ramp

primary
#2B134F
secondary
#678836
accent
#E443A4
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2B134F

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

Preview Lab → · Contrast checker → · Palette generator →

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