#2A093C#2A093C

#2A093C is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.094 H 310.5°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#2A093C
RGBrgb(42, 9, 60)
HSLhsl(279, 74%, 14%)
HSVhsv(279, 85%, 24%)
CMYKcmyk(30%, 85%, 0%, 76.5%)
CIE-LABlab(9.11, 26.71, -25.20)
CIE-LCHlch(9.11, 36.72, 316.68°)
OKLaboklab(22.84% 0.061 -0.0714)
OKLCHoklch(22.84% 0.094 310.5)
XYZxyz(1.8680, 1.0139, 4.3714)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A093C #1B3C09
analogous
#10093C #2A093C #3C0934
triadic
#2A093C #3C2A09 #093C2A
tetradic
#2A093C #3C1009 #1B3C09 #09343C
square
#2A093C #3C1009 #1B3C09 #09343C
split-complementary
#2A093C #343C09 #093C10
monochromatic
#13041B #13041B #2A093C #4F1171 #7519A6

Accessibility & contrast

On white

17.46
#2A093C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A093C
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A093C#FFFFFF#000000##FFFFFF
##2A093C1.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183D
Deuteranopia (green-blind)
#021A3B
Tritanopia (blue-blind)
#281522
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2a093c;
/* rgb */ color: rgb(42, 9, 60);
/* oklch */ color: oklch(22.8% 0.094 310.5);
Tailwind
colors: {
  custom: {
    50: '#664c72',
    500: '#2a093c',
    950: '#000000',
  },
}
SCSS
$custom: #2a093c;
$custom-light: #664c72;
$custom-dark: #000000;
JSON
{
  "hex": "#2a093c",
  "rgb": {
    "r": 42,
    "g": 9,
    "b": 60
  },
  "hsl": {
    "h": 278.824,
    "s": 73.913,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22837,
    "c": 0.09386,
    "h": 310.5
  },
  "luminance": 0.01014
}

Semantic roles & 50–950 ramp

primary
#2A093C
secondary
#447A27
accent
#F13779
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2A093C

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

Preview Lab → · Contrast checker → · Palette generator →

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