#2E084B#2E084B

#2E084B is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.113 H 304.7°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#2E084B
RGBrgb(46, 8, 75)
HSLhsl(274, 81%, 16%)
HSVhsv(274, 89%, 29%)
CMYKcmyk(38.7%, 89.3%, 0%, 70.6%)
CIE-LABlab(11.01, 31.94, -32.66)
CIE-LCHlch(11.01, 45.68, 314.37°)
OKLaboklab(24.75% 0.0645 -0.0931)
OKLCHoklch(24.75% 0.113 304.7)
XYZxyz(2.4833, 1.2625, 6.7681)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E084B #254B08
analogous
#0D084B #2E084B #4B0847
triadic
#2E084B #4B2E08 #084B2E
tetradic
#2E084B #4B0D08 #254B08 #08474B
square
#2E084B #4B0D08 #254B08 #08474B
split-complementary
#2E084B #474B08 #084B0D
monochromatic
#11031C #11031C #2E084B #500E82 #7214BA

Accessibility & contrast

On white

16.77
#2E084B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E084B
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E084B#FFFFFF#000000##FFFFFF
##2E084B1.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4D
Deuteranopia (green-blind)
#001D4A
Tritanopia (blue-blind)
#281A2A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2e084b;
/* rgb */ color: rgb(46, 8, 75);
/* oklch */ color: oklch(24.7% 0.113 304.7);
Tailwind
colors: {
  custom: {
    50: '#6b4d7e',
    500: '#2e084b',
    950: '#000000',
  },
}
SCSS
$custom: #2e084b;
$custom-light: #6b4d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e084b",
  "rgb": {
    "r": 46,
    "g": 8,
    "b": 75
  },
  "hsl": {
    "h": 274.03,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24748,
    "c": 0.11327,
    "h": 304.7
  },
  "luminance": 0.01263
}

Semantic roles & 50–950 ramp

primary
#2E084B
secondary
#518926
accent
#F73187
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07010A
muted
#7A777C

Preview Lab

Preview with #2E084B

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

Preview Lab → · Contrast checker → · Palette generator →

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