#2A093F#2A093F

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

Color values

HEX#2A093F
RGBrgb(42, 9, 63)
HSLhsl(277, 75%, 14%)
HSVhsv(277, 86%, 25%)
CMYKcmyk(33.3%, 85.7%, 0%, 75.3%)
CIE-LABlab(9.37, 27.50, -26.91)
CIE-LCHlch(9.37, 38.48, 315.62°)
OKLaboklab(23.11% 0.0603 -0.0764)
OKLCHoklch(23.11% 0.097 308.3)
XYZxyz(1.9495, 1.0465, 4.8010)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A093F #1E3F09
analogous
#0F093F #2A093F #3F0939
triadic
#2A093F #3F2A09 #093F2A
tetradic
#2A093F #3F0F09 #1E3F09 #09393F
square
#2A093F #3F0F09 #1E3F09 #09393F
split-complementary
#2A093F #393F09 #093F0F
monochromatic
#12041B #12041B #2A093F #4E1175 #7118AA

Accessibility & contrast

On white

17.37
#2A093F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2A093F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A093F
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A093F#FFFFFF#000000##FFFFFF
##2A093F1.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001941
Deuteranopia (green-blind)
#001B3E
Tritanopia (blue-blind)
#271623
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2a093f;
/* rgb */ color: rgb(42, 9, 63);
/* oklch */ color: oklch(23.1% 0.097 308.3);
Tailwind
colors: {
  custom: {
    50: '#664c74',
    500: '#2a093f',
    950: '#000000',
  },
}
SCSS
$custom: #2a093f;
$custom-light: #664c74;
$custom-dark: #000000;
JSON
{
  "hex": "#2a093f",
  "rgb": {
    "r": 42,
    "g": 9,
    "b": 63
  },
  "hsl": {
    "h": 276.667,
    "s": 75,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23109,
    "c": 0.09733,
    "h": 308.3
  },
  "luminance": 0.01046
}

Semantic roles & 50–950 ramp

primary
#2A093F
secondary
#487D27
accent
#F2367F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2A093F

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

Preview Lab → · Contrast checker → · Palette generator →

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