#2B094C#2B094C

#2B094C is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.5% C 0.113 H 301.1°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#2B094C
RGBrgb(43, 9, 76)
HSLhsl(270, 79%, 17%)
HSVhsv(270, 88%, 30%)
CMYKcmyk(43.4%, 88.2%, 0%, 70.2%)
CIE-LABlab(10.78, 31.21, -33.74)
CIE-LCHlch(10.78, 45.96, 312.76°)
OKLaboklab(24.52% 0.0581 -0.0964)
OKLCHoklch(24.52% 0.113 301.1)
XYZxyz(2.3981, 1.2308, 6.9473)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B094C #2A4C09
analogous
#0A094C #2B094C #4C094C
triadic
#2B094C #4C2B09 #094C2B
tetradic
#2B094C #4C0A09 #2A4C09 #094C4C
square
#2B094C #4C0A09 #2A4C09 #094C4C
split-complementary
#2B094C #4C4C09 #094C0A
monochromatic
#0F031B #0F031B #2B094C #4A0F83 #6916B9

Accessibility & contrast

On white

16.85
#2B094C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B094C
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B094C#FFFFFF#000000##FFFFFF
##2B094C1.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b094c;
/* rgb */ color: rgb(43, 9, 76);
/* oklch */ color: oklch(24.5% 0.113 301.1);
Tailwind
colors: {
  custom: {
    50: '#694d7f',
    500: '#2b094c',
    950: '#000000',
  },
}
SCSS
$custom: #2b094c;
$custom-light: #694d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b094c",
  "rgb": {
    "r": 43,
    "g": 9,
    "b": 76
  },
  "hsl": {
    "h": 270.448,
    "s": 78.824,
    "l": 16.667
  },
  "oklch": {
    "l": 0.24517,
    "c": 0.1126,
    "h": 301.1
  },
  "luminance": 0.01231
}

Semantic roles & 50–950 ramp

primary
#2B094C
secondary
#588928
accent
#F53392
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07010A
muted
#7A777C

Preview Lab

Preview with #2B094C

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

Preview Lab → · Contrast checker → · Palette generator →

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