#2E083C#2E083C

#2E083C is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.097 H 315.0°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#2E083C
RGBrgb(46, 8, 60)
HSLhsl(284, 76%, 13%)
HSVhsv(284, 87%, 24%)
CMYKcmyk(23.3%, 86.7%, 0%, 76.5%)
CIE-LABlab(9.65, 28.15, -24.29)
CIE-LCHlch(9.65, 37.18, 319.22°)
OKLaboklab(23.37% 0.0685 -0.0685)
OKLCHoklch(23.37% 0.097 315)
XYZxyz(2.0290, 1.0808, 4.3758)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E083C #163C08
analogous
#14083C #2E083C #3C0830
triadic
#2E083C #3C2E08 #083C2E
tetradic
#2E083C #3C1408 #163C08 #08303C
square
#2E083C #3C1408 #163C08 #08303C
split-complementary
#2E083C #303C08 #083C14
monochromatic
#15041B #15041B #2E083C #570F72 #8116A8

Accessibility & contrast

On white

17.27
#2E083C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2E083C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E083C
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E083C#FFFFFF#000000##FFFFFF
##2E083C1.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193D
Deuteranopia (green-blind)
#061C3B
Tritanopia (blue-blind)
#2D1421
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2e083c;
/* rgb */ color: rgb(46, 8, 60);
/* oklch */ color: oklch(23.4% 0.097 315.0);
Tailwind
colors: {
  custom: {
    50: '#694c72',
    500: '#2e083c',
    950: '#000000',
  },
}
SCSS
$custom: #2e083c;
$custom-light: #694c72;
$custom-dark: #000000;
JSON
{
  "hex": "#2e083c",
  "rgb": {
    "r": 46,
    "g": 8,
    "b": 60
  },
  "hsl": {
    "h": 283.846,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23366,
    "c": 0.09687,
    "h": 315
  },
  "luminance": 0.01081
}

Semantic roles & 50–950 ramp

primary
#2E083C
secondary
#3C7B25
accent
#F33568
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2E083C

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

Preview Lab → · Contrast checker → · Palette generator →

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