#2A094C#2A094C

#2A094C is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.4% C 0.112 H 300.1°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#2A094C
RGBrgb(42, 9, 76)
HSLhsl(270, 79%, 17%)
HSVhsv(270, 88%, 30%)
CMYKcmyk(44.7%, 88.2%, 0%, 70.2%)
CIE-LABlab(10.63, 31.03, -34.00)
CIE-LCHlch(10.63, 46.03, 312.38°)
OKLaboklab(24.38% 0.0564 -0.0972)
OKLCHoklch(24.38% 0.112 300.1)
XYZxyz(2.3567, 1.2094, 6.9453)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A094C #2B4C09
analogous
#090A4C #2A094C #4C094C
triadic
#2A094C #4C2A09 #094C2A
tetradic
#2A094C #4C090A #2B4C09 #094C4C
square
#2A094C #4C090A #2B4C09 #094C4C
split-complementary
#2A094C #4C4C09 #0A4C09
monochromatic
#0F031B #0F031B #2A094C #480F83 #6616B9

Accessibility & contrast

On white

16.91
#2A094C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2A094C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A094C
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A094C#FFFFFF#000000##FFFFFF
##2A094C1.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4E
Deuteranopia (green-blind)
#001C4B
Tritanopia (blue-blind)
#221C2B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2a094c;
/* rgb */ color: rgb(42, 9, 76);
/* oklch */ color: oklch(24.4% 0.112 300.1);
Tailwind
colors: {
  custom: {
    50: '#684d7f',
    500: '#2a094c',
    950: '#000000',
  },
}
SCSS
$custom: #2a094c;
$custom-light: #684d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a094c",
  "rgb": {
    "r": 42,
    "g": 9,
    "b": 76
  },
  "hsl": {
    "h": 269.552,
    "s": 78.824,
    "l": 16.667
  },
  "oklch": {
    "l": 0.24375,
    "c": 0.11241,
    "h": 300.1
  },
  "luminance": 0.01209
}

Semantic roles & 50–950 ramp

primary
#2A094C
secondary
#598928
accent
#F53395
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06010A
muted
#7A777C

Preview Lab

Preview with #2A094C

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

Preview Lab → · Contrast checker → · Palette generator →

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