#2D094A#2D094A

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

Color values

HEX#2D094A
RGBrgb(45, 9, 74)
HSLhsl(273, 78%, 16%)
HSVhsv(273, 88%, 29%)
CMYKcmyk(39.2%, 87.8%, 0%, 71%)
CIE-LABlab(10.90, 31.04, -32.14)
CIE-LCHlch(10.90, 44.68, 314.00°)
OKLaboklab(24.61% 0.0622 -0.0916)
OKLCHoklch(24.61% 0.111 304.2)
XYZxyz(2.4156, 1.2477, 6.5908)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D094A #264A09
analogous
#0D094A #2D094A #4A0947
triadic
#2D094A #4A2D09 #094A2D
tetradic
#2D094A #4A0D09 #264A09 #09474A
square
#2D094A #4A0D09 #264A09 #09474A
split-complementary
#2D094A #474A09 #094A0D
monochromatic
#11031B #11031B #2D094A #4E1081 #6F16B7

Accessibility & contrast

On white

16.81
#2D094A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D094A
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D094A#FFFFFF#000000##FFFFFF
##2D094A1.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4C
Deuteranopia (green-blind)
#001D49
Tritanopia (blue-blind)
#271A2A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d094a;
/* rgb */ color: rgb(45, 9, 74);
/* oklch */ color: oklch(24.6% 0.111 304.2);
Tailwind
colors: {
  custom: {
    50: '#6a4d7d',
    500: '#2d094a',
    950: '#000000',
  },
}
SCSS
$custom: #2d094a;
$custom-light: #6a4d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d094a",
  "rgb": {
    "r": 45,
    "g": 9,
    "b": 74
  },
  "hsl": {
    "h": 273.231,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24609,
    "c": 0.11075,
    "h": 304.2
  },
  "luminance": 0.01248
}

Semantic roles & 50–950 ramp

primary
#2D094A
secondary
#528727
accent
#F53389
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07010A
muted
#7A777C

Preview Lab

Preview with #2D094A

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

Preview Lab → · Contrast checker → · Palette generator →

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