#2A093E#2A093E

#2A093E is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.0% C 0.096 H 309.0°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#2A093E
RGBrgb(42, 9, 62)
HSLhsl(277, 75%, 14%)
HSVhsv(277, 85%, 24%)
CMYKcmyk(32.3%, 85.5%, 0%, 75.7%)
CIE-LABlab(9.28, 27.24, -26.34)
CIE-LCHlch(9.28, 37.89, 315.96°)
OKLaboklab(23.02% 0.0605 -0.0747)
OKLCHoklch(23.02% 0.096 309)
XYZxyz(1.9219, 1.0355, 4.6551)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A093E #1D3E09
analogous
#10093E #2A093E #3E0938
triadic
#2A093E #3E2A09 #093E2A
tetradic
#2A093E #3E1009 #1D3E09 #09383E
square
#2A093E #3E1009 #1D3E09 #09383E
split-complementary
#2A093E #383E09 #093E10
monochromatic
#12041B #12041B #2A093E #4E1173 #7219A9

Accessibility & contrast

On white

17.40
#2A093E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A093E
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A093E#FFFFFF#000000##FFFFFF
##2A093E1.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193F
Deuteranopia (green-blind)
#001A3D
Tritanopia (blue-blind)
#271623
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2a093e;
/* rgb */ color: rgb(42, 9, 62);
/* oklch */ color: oklch(23.0% 0.096 309.0);
Tailwind
colors: {
  custom: {
    50: '#664c74',
    500: '#2a093e',
    950: '#000000',
  },
}
SCSS
$custom: #2a093e;
$custom-light: #664c74;
$custom-dark: #000000;
JSON
{
  "hex": "#2a093e",
  "rgb": {
    "r": 42,
    "g": 9,
    "b": 62
  },
  "hsl": {
    "h": 277.358,
    "s": 74.648,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23017,
    "c": 0.09617,
    "h": 309
  },
  "luminance": 0.01035
}

Semantic roles & 50–950 ramp

primary
#2A093E
secondary
#477C27
accent
#F1377D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2A093E

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

Preview Lab → · Contrast checker → · Palette generator →

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