#2E073F#2E073F

#2E073F is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.5% C 0.102 H 312.9°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#2E073F
RGBrgb(46, 7, 63)
HSLhsl(282, 80%, 14%)
HSVhsv(282, 89%, 25%)
CMYKcmyk(27%, 88.9%, 0%, 75.3%)
CIE-LABlab(9.73, 29.38, -26.29)
CIE-LCHlch(9.73, 39.42, 318.17°)
OKLaboklab(23.51% 0.0691 -0.0744)
OKLCHoklch(23.51% 0.102 312.9)
XYZxyz(2.0997, 1.0917, 4.8018)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E073F #183F07
analogous
#12073F #2E073F #3F0734
triadic
#2E073F #3F2E07 #073F2E
tetradic
#2E073F #3F1207 #183F07 #07343F
square
#2E073F #3F1207 #183F07 #07343F
split-complementary
#2E073F #343F07 #073F12
monochromatic
#14031C #14031C #2E073F #560D76 #7E13AD

Accessibility & contrast

On white

17.24
#2E073F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E073F
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E073F#FFFFFF#000000##FFFFFF
##2E073F1.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001941
Deuteranopia (green-blind)
#021C3E
Tritanopia (blue-blind)
#2C1423
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2e073f;
/* rgb */ color: rgb(46, 7, 63);
/* oklch */ color: oklch(23.5% 0.102 312.9);
Tailwind
colors: {
  custom: {
    50: '#6a4c74',
    500: '#2e073f',
    950: '#000000',
  },
}
SCSS
$custom: #2e073f;
$custom-light: #6a4c74;
$custom-dark: #000000;
JSON
{
  "hex": "#2e073f",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 63
  },
  "hsl": {
    "h": 281.786,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23508,
    "c": 0.10153,
    "h": 312.9
  },
  "luminance": 0.01092
}

Semantic roles & 50–950 ramp

primary
#2E073F
secondary
#3F7E24
accent
#F6316D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2E073F

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

Preview Lab → · Contrast checker → · Palette generator →

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