#2E094A#2E094A

#2E094A is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.111 H 305.1°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#2E094A
RGBrgb(46, 9, 74)
HSLhsl(274, 78%, 16%)
HSVhsv(274, 88%, 29%)
CMYKcmyk(37.8%, 87.8%, 0%, 71%)
CIE-LABlab(11.07, 31.23, -31.87)
CIE-LCHlch(11.07, 44.62, 314.42°)
OKLaboklab(24.76% 0.0639 -0.0908)
OKLCHoklch(24.76% 0.111 305.1)
XYZxyz(2.4602, 1.2706, 6.5929)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E094A #254A09
analogous
#0E094A #2E094A #4A0946
triadic
#2E094A #4A2E09 #094A2E
tetradic
#2E094A #4A0E09 #254A09 #09464A
square
#2E094A #4A0E09 #254A09 #09464A
split-complementary
#2E094A #464A09 #094A0E
monochromatic
#11031B #11031B #2E094A #501081 #7216B7

Accessibility & contrast

On white

16.74
#2E094A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E094A
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E094A#FFFFFF#000000##FFFFFF
##2E094A1.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4C
Deuteranopia (green-blind)
#001E49
Tritanopia (blue-blind)
#291A2A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2e094a;
/* rgb */ color: rgb(46, 9, 74);
/* oklch */ color: oklch(24.8% 0.111 305.1);
Tailwind
colors: {
  custom: {
    50: '#6a4d7d',
    500: '#2e094a',
    950: '#000000',
  },
}
SCSS
$custom: #2e094a;
$custom-light: #6a4d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e094a",
  "rgb": {
    "r": 46,
    "g": 9,
    "b": 74
  },
  "hsl": {
    "h": 274.154,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24758,
    "c": 0.111,
    "h": 305.1
  },
  "luminance": 0.01271
}

Semantic roles & 50–950 ramp

primary
#2E094A
secondary
#518727
accent
#F53386
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2E094A

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

Preview Lab → · Contrast checker → · Palette generator →

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