#2A073C#2A073C

#2A073C is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.6% C 0.097 H 311.0°. Best body text is #FFFFFF at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#2A073C
RGBrgb(42, 7, 60)
HSLhsl(280, 79%, 13%)
HSVhsv(280, 88%, 24%)
CMYKcmyk(30%, 88.3%, 0%, 76.5%)
CIE-LABlab(8.74, 27.76, -25.78)
CIE-LCHlch(8.74, 37.88, 317.11°)
OKLaboklab(22.58% 0.0635 -0.0731)
OKLCHoklch(22.58% 0.097 311)
XYZxyz(1.8463, 0.9705, 4.3642)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A073C #193C07
analogous
#10073C #2A073C #3C0733
triadic
#2A073C #3C2A07 #073C2A
tetradic
#2A073C #3C1007 #193C07 #07333C
square
#2A073C #3C1007 #193C07 #07333C
split-complementary
#2A073C #333C07 #073C10
monochromatic
#13031B #13031B #2A073C #500D73 #7714AA

Accessibility & contrast

On white

17.59
#2A073C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A073C
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A073C#FFFFFF#000000##FFFFFF
##2A073C1.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173D
Deuteranopia (green-blind)
#001A3B
Tritanopia (blue-blind)
#281421
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2a073c;
/* rgb */ color: rgb(42, 7, 60);
/* oklch */ color: oklch(22.6% 0.097 311.0);
Tailwind
colors: {
  custom: {
    50: '#664b72',
    500: '#2a073c',
    950: '#000000',
  },
}
SCSS
$custom: #2a073c;
$custom-light: #664b72;
$custom-dark: #000000;
JSON
{
  "hex": "#2a073c",
  "rgb": {
    "r": 42,
    "g": 7,
    "b": 60
  },
  "hsl": {
    "h": 279.623,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.22581,
    "c": 0.09678,
    "h": 311
  },
  "luminance": 0.0097
}

Semantic roles & 50–950 ramp

primary
#2A073C
secondary
#417B23
accent
#F63275
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2A073C

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

Preview Lab → · Contrast checker → · Palette generator →

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