#2B094A#2B094A

#2B094A is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.3% C 0.110 H 302.2°. Best body text is #FFFFFF at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#2B094A
RGBrgb(43, 9, 74)
HSLhsl(271, 78%, 16%)
HSVhsv(271, 88%, 29%)
CMYKcmyk(41.9%, 87.8%, 0%, 71%)
CIE-LABlab(10.58, 30.66, -32.68)
CIE-LCHlch(10.58, 44.81, 313.18°)
OKLaboklab(24.32% 0.0588 -0.0933)
OKLCHoklch(24.32% 0.11 302.2)
XYZxyz(2.3297, 1.2034, 6.5868)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B094A #284A09
analogous
#0B094A #2B094A #4A0949
triadic
#2B094A #4A2B09 #094A2B
tetradic
#2B094A #4A0B09 #284A09 #09494A
square
#2B094A #4A0B09 #284A09 #09494A
split-complementary
#2B094A #494A09 #094A0B
monochromatic
#10031B #10031B #2B094A #4B1081 #6A16B7

Accessibility & contrast

On white

16.93
#2B094A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B094A
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B094A#FFFFFF#000000##FFFFFF
##2B094A1.0016.931.2416.93
#FFFFFF16.931.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4C
Deuteranopia (green-blind)
#001C49
Tritanopia (blue-blind)
#241B2A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2b094a;
/* rgb */ color: rgb(43, 9, 74);
/* oklch */ color: oklch(24.3% 0.110 302.2);
Tailwind
colors: {
  custom: {
    50: '#684d7d',
    500: '#2b094a',
    950: '#000000',
  },
}
SCSS
$custom: #2b094a;
$custom-light: #684d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b094a",
  "rgb": {
    "r": 43,
    "g": 9,
    "b": 74
  },
  "hsl": {
    "h": 271.385,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24316,
    "c": 0.1103,
    "h": 302.2
  },
  "luminance": 0.01203
}

Semantic roles & 50–950 ramp

primary
#2B094A
secondary
#558727
accent
#F5338F
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06010A
muted
#7A777C

Preview Lab

Preview with #2B094A

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

Preview Lab → · Contrast checker → · Palette generator →

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