#2A134B#2A134B

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

Color values

HEX#2A134B
RGBrgb(42, 19, 75)
HSLhsl(265, 60%, 18%)
HSVhsv(265, 75%, 29%)
CMYKcmyk(44%, 74.7%, 0%, 70.6%)
CIE-LABlab(12.39, 25.48, -30.44)
CIE-LCHlch(12.39, 39.69, 309.93°)
OKLaboklab(25.59% 0.046 -0.0868)
OKLCHoklch(25.59% 0.098 297.9)
XYZxyz(2.4574, 1.4659, 6.8087)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A134B #344B13
analogous
#13184B #2A134B #46134B
triadic
#2A134B #4B2A13 #134B2A
tetradic
#2A134B #4B1318 #344B13 #134B46
square
#2A134B #4B1318 #344B13 #134B46
split-complementary
#2A134B #4B4613 #184B13
monochromatic
#0E0618 #0F071A #2A134B #451F7C #612CAD

Accessibility & contrast

On white

16.24
#2A134B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A134B
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A134B#FFFFFF#000000##FFFFFF
##2A134B1.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204D
Deuteranopia (green-blind)
#00204A
Tritanopia (blue-blind)
#22202D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2a134b;
/* rgb */ color: rgb(42, 19, 75);
/* oklch */ color: oklch(25.6% 0.098 297.9);
Tailwind
colors: {
  custom: {
    50: '#67527e',
    500: '#2a134b',
    950: '#000000',
  },
}
SCSS
$custom: #2a134b;
$custom-light: #67527e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a134b",
  "rgb": {
    "r": 42,
    "g": 19,
    "b": 75
  },
  "hsl": {
    "h": 264.643,
    "s": 59.574,
    "l": 18.431
  },
  "oklch": {
    "l": 0.25591,
    "c": 0.09824,
    "h": 297.9
  },
  "luminance": 0.01466
}

Semantic roles & 50–950 ramp

primary
#2A134B
secondary
#648436
accent
#E345A2
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2A134B

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

Preview Lab → · Contrast checker → · Palette generator →

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