#2A094E#2A094E

#2A094E is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.6% C 0.115 H 299.0°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#2A094E
RGBrgb(42, 9, 78)
HSLhsl(269, 79%, 17%)
HSVhsv(269, 88%, 31%)
CMYKcmyk(46.2%, 88.5%, 0%, 69.4%)
CIE-LABlab(10.83, 31.59, -35.05)
CIE-LCHlch(10.83, 47.18, 312.02°)
OKLaboklab(24.58% 0.0557 -0.1003)
OKLCHoklch(24.58% 0.115 299)
XYZxyz(2.4273, 1.2376, 7.3173)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A094E #2D4E09
analogous
#090A4E #2A094E #4D094E
triadic
#2A094E #4E2A09 #094E2A
tetradic
#2A094E #4E090A #2D4E09 #094E4D
square
#2A094E #4E090A #2D4E09 #094E4D
split-complementary
#2A094E #4E4D09 #0A4E09
monochromatic
#0F031B #0F031B #2A094E #480F85 #6516BC

Accessibility & contrast

On white

16.83
#2A094E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2A094E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A094E
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A094E#FFFFFF#000000##FFFFFF
##2A094E1.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D50
Deuteranopia (green-blind)
#001C4D
Tritanopia (blue-blind)
#211D2C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2a094e;
/* rgb */ color: rgb(42, 9, 78);
/* oklch */ color: oklch(24.6% 0.115 299.0);
Tailwind
colors: {
  custom: {
    50: '#684d80',
    500: '#2a094e',
    950: '#000000',
  },
}
SCSS
$custom: #2a094e;
$custom-light: #684d80;
$custom-dark: #000000;
JSON
{
  "hex": "#2a094e",
  "rgb": {
    "r": 42,
    "g": 9,
    "b": 78
  },
  "hsl": {
    "h": 268.696,
    "s": 79.31,
    "l": 17.059
  },
  "oklch": {
    "l": 0.24581,
    "c": 0.11473,
    "h": 299
  },
  "luminance": 0.01238
}

Semantic roles & 50–950 ramp

primary
#2A094E
secondary
#5C8B28
accent
#F63298
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07010A
muted
#7A777C

Preview Lab

Preview with #2A094E

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

Preview Lab → · Contrast checker → · Palette generator →

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