#2A084B#2A084B

#2A084B is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.112 H 300.9°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#2A084B
RGBrgb(42, 8, 75)
HSLhsl(270, 81%, 16%)
HSVhsv(270, 89%, 29%)
CMYKcmyk(44%, 89.3%, 0%, 70.6%)
CIE-LABlab(10.36, 31.22, -33.74)
CIE-LCHlch(10.36, 45.97, 312.78°)
OKLaboklab(24.16% 0.0577 -0.0965)
OKLCHoklch(24.16% 0.112 300.9)
XYZxyz(2.3114, 1.1739, 6.7601)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A084B #294B08
analogous
#09084B #2A084B #4B084B
triadic
#2A084B #4B2A08 #084B2A
tetradic
#2A084B #4B0908 #294B08 #084B4B
square
#2A084B #4B0908 #294B08 #084B4B
split-complementary
#2A084B #4B4B08 #084B09
monochromatic
#0F031C #0F031C #2A084B #490E82 #6814BA

Accessibility & contrast

On white

17.01
#2A084B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2A084B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A084B
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A084B#FFFFFF#000000##FFFFFF
##2A084B1.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4D
Deuteranopia (green-blind)
#001C4A
Tritanopia (blue-blind)
#221B2A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2a084b;
/* rgb */ color: rgb(42, 8, 75);
/* oklch */ color: oklch(24.2% 0.112 300.9);
Tailwind
colors: {
  custom: {
    50: '#684c7e',
    500: '#2a084b',
    950: '#000000',
  },
}
SCSS
$custom: #2a084b;
$custom-light: #684c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a084b",
  "rgb": {
    "r": 42,
    "g": 8,
    "b": 75
  },
  "hsl": {
    "h": 270.448,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24161,
    "c": 0.1124,
    "h": 300.9
  },
  "luminance": 0.01174
}

Semantic roles & 50–950 ramp

primary
#2A084B
secondary
#578926
accent
#F73192
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06010A
muted
#7A777C

Preview Lab

Preview with #2A084B

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

Preview Lab → · Contrast checker → · Palette generator →

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