#2A133F#2A133F

#2A133F is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.082 H 305.2°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#2A133F
RGBrgb(42, 19, 63)
HSLhsl(271, 54%, 16%)
HSVhsv(271, 70%, 25%)
CMYKcmyk(33.3%, 69.8%, 0%, 75.3%)
CIE-LABlab(11.39, 21.89, -23.65)
CIE-LCHlch(11.39, 32.22, 312.79°)
OKLaboklab(24.56% 0.0472 -0.0669)
OKLCHoklch(24.56% 0.082 305.2)
XYZxyz(2.0847, 1.3169, 4.8460)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A133F #283F13
analogous
#14133F #2A133F #3F133E
triadic
#2A133F #3F2A13 #133F2A
tetradic
#2A133F #3F1413 #283F13 #133E3F
square
#2A133F #3F1413 #283F13 #133E3F
split-complementary
#2A133F #3E3F13 #133F14
monochromatic
#100718 #100718 #2A133F #49216E #692F9D

Accessibility & contrast

On white

16.62
#2A133F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2A133F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A133F
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A133F#FFFFFF#000000##FFFFFF
##2A133F1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011E40
Deuteranopia (green-blind)
#091E3E
Tritanopia (blue-blind)
#261C26
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2a133f;
/* rgb */ color: rgb(42, 19, 63);
/* oklch */ color: oklch(24.6% 0.082 305.2);
Tailwind
colors: {
  custom: {
    50: '#655274',
    500: '#2a133f',
    950: '#000000',
  },
}
SCSS
$custom: #2a133f;
$custom-light: #655274;
$custom-dark: #000000;
JSON
{
  "hex": "#2a133f",
  "rgb": {
    "r": 42,
    "g": 19,
    "b": 63
  },
  "hsl": {
    "h": 271.364,
    "s": 53.659,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24555,
    "c": 0.08187,
    "h": 305.2
  },
  "luminance": 0.01317
}

Semantic roles & 50–950 ramp

primary
#2A133F
secondary
#557836
accent
#DD4B91
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2A133F

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

Preview Lab → · Contrast checker → · Palette generator →

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