#2B134C#2B134C

#2B134C is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.8% C 0.100 H 298.4°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#2B134C
RGBrgb(43, 19, 76)
HSLhsl(265, 60%, 19%)
HSVhsv(265, 75%, 30%)
CMYKcmyk(43.4%, 75%, 0%, 70.2%)
CIE-LABlab(12.62, 26.01, -30.75)
CIE-LCHlch(12.62, 40.28, 310.23°)
OKLaboklab(25.81% 0.0475 -0.0877)
OKLCHoklch(25.81% 0.1 298.4)
XYZxyz(2.5333, 1.5011, 6.9923)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B134C #344C13
analogous
#13174C #2B134C #47134C
triadic
#2B134C #4C2B13 #134C2B
tetradic
#2B134C #4C1317 #344C13 #134C47
square
#2B134C #4C1317 #344C13 #134C47
split-complementary
#2B134C #4C4713 #174C13
monochromatic
#0E0618 #0F071B #2B134C #471F7D #622BAE

Accessibility & contrast

On white

16.15
#2B134C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#2B134C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B134C
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B134C#FFFFFF#000000##FFFFFF
##2B134C1.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214E
Deuteranopia (green-blind)
#00204B
Tritanopia (blue-blind)
#23212D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2b134c;
/* rgb */ color: rgb(43, 19, 76);
/* oklch */ color: oklch(25.8% 0.100 298.4);
Tailwind
colors: {
  custom: {
    50: '#68527e',
    500: '#2b134c',
    950: '#000000',
  },
}
SCSS
$custom: #2b134c;
$custom-light: #68527e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b134c",
  "rgb": {
    "r": 43,
    "g": 19,
    "b": 76
  },
  "hsl": {
    "h": 265.263,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25811,
    "c": 0.09974,
    "h": 298.4
  },
  "luminance": 0.01501
}

Semantic roles & 50–950 ramp

primary
#2B134C
secondary
#648536
accent
#E345A0
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2B134C

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

Preview Lab → · Contrast checker → · Palette generator →

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