#2A063B#2A063B

#2A063B is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.4% C 0.097 H 312.0°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#2A063B
RGBrgb(42, 6, 59)
HSLhsl(281, 82%, 13%)
HSVhsv(281, 90%, 23%)
CMYKcmyk(28.8%, 89.8%, 0%, 76.9%)
CIE-LABlab(8.47, 28.04, -25.51)
CIE-LCHlch(8.47, 37.91, 317.70°)
OKLaboklab(22.36% 0.065 -0.0723)
OKLCHoklch(22.36% 0.097 312)
XYZxyz(1.8092, 0.9383, 4.2226)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A063B #173B06
analogous
#10063B #2A063B #3B0631
triadic
#2A063B #3B2A06 #063B2A
tetradic
#2A063B #3B1006 #173B06 #06313B
square
#2A063B #3B1006 #173B06 #06313B
split-complementary
#2A063B #313B06 #063B10
monochromatic
#14031C #14031C #2A063B #520C73 #7911AA

Accessibility & contrast

On white

17.68
#2A063B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2A063B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A063B
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A063B#FFFFFF#000000##FFFFFF
##2A063B1.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173C
Deuteranopia (green-blind)
#00193A
Tritanopia (blue-blind)
#281320
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2a063b;
/* rgb */ color: rgb(42, 6, 59);
/* oklch */ color: oklch(22.4% 0.097 312.0);
Tailwind
colors: {
  custom: {
    50: '#664a71',
    500: '#2a063b',
    950: '#000000',
  },
}
SCSS
$custom: #2a063b;
$custom-light: #664a71;
$custom-dark: #000000;
JSON
{
  "hex": "#2a063b",
  "rgb": {
    "r": 42,
    "g": 6,
    "b": 59
  },
  "hsl": {
    "h": 280.755,
    "s": 81.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22358,
    "c": 0.0972,
    "h": 312
  },
  "luminance": 0.00938
}

Semantic roles & 50–950 ramp

primary
#2A063B
secondary
#3E7B22
accent
#F83070
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2A063B

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

Preview Lab → · Contrast checker → · Palette generator →

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