#2A093B#2A093B

#2A093B is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.093 H 311.3°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#2A093B
RGBrgb(42, 9, 59)
HSLhsl(280, 74%, 13%)
HSVhsv(280, 85%, 23%)
CMYKcmyk(28.8%, 84.7%, 0%, 76.9%)
CIE-LABlab(9.02, 26.45, -24.62)
CIE-LCHlch(9.02, 36.14, 317.06°)
OKLaboklab(22.75% 0.0612 -0.0697)
OKLCHoklch(22.75% 0.093 311.3)
XYZxyz(1.8418, 1.0034, 4.2335)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A093B #1A3B09
analogous
#11093B #2A093B #3B0933
triadic
#2A093B #3B2A09 #093B2A
tetradic
#2A093B #3B1109 #1A3B09 #09333B
square
#2A093B #3B1109 #1A3B09 #09333B
split-complementary
#2A093B #333B09 #093B11
monochromatic
#13041B #13041B #2A093B #501170 #7619A5

Accessibility & contrast

On white

17.49
#2A093B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2A093B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A093B
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A093B#FFFFFF#000000##FFFFFF
##2A093B1.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183C
Deuteranopia (green-blind)
#031A3A
Tritanopia (blue-blind)
#281421
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2a093b;
/* rgb */ color: rgb(42, 9, 59);
/* oklch */ color: oklch(22.7% 0.093 311.3);
Tailwind
colors: {
  custom: {
    50: '#664c71',
    500: '#2a093b',
    950: '#000000',
  },
}
SCSS
$custom: #2a093b;
$custom-light: #664c71;
$custom-dark: #000000;
JSON
{
  "hex": "#2a093b",
  "rgb": {
    "r": 42,
    "g": 9,
    "b": 59
  },
  "hsl": {
    "h": 279.6,
    "s": 73.529,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22748,
    "c": 0.09271,
    "h": 311.3
  },
  "luminance": 0.01003
}

Semantic roles & 50–950 ramp

primary
#2A093B
secondary
#437927
accent
#F03876
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2A093B

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

Preview Lab → · Contrast checker → · Palette generator →

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