#2E0F45#2E0F45

#2E0F45 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.0% C 0.097 H 306.9°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#2E0F45
RGBrgb(46, 15, 69)
HSLhsl(274, 64%, 16%)
HSVhsv(274, 78%, 27%)
CMYKcmyk(33.3%, 78.3%, 0%, 72.9%)
CIE-LABlab(11.64, 26.99, -27.45)
CIE-LCHlch(11.64, 38.50, 314.51°)
OKLaboklab(25.02% 0.0585 -0.0779)
OKLCHoklch(25.02% 0.097 306.9)
XYZxyz(2.3715, 1.3522, 5.7651)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0F45 #26450F
analogous
#130F45 #2E0F45 #450F41
triadic
#2E0F45 #452E0F #0F452E
tetradic
#2E0F45 #45130F #26450F #0F4145
square
#2E0F45 #45130F #26450F #0F4145
split-complementary
#2E0F45 #41450F #0F4513
monochromatic
#110519 #110519 #2E0F45 #501A77 #7125AA

Accessibility & contrast

On white

16.53
#2E0F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2E0F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0F45
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0F45#FFFFFF#000000##FFFFFF
##2E0F451.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E47
Deuteranopia (green-blind)
#021F44
Tritanopia (blue-blind)
#2A1B28
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2e0f45;
/* rgb */ color: rgb(46, 15, 69);
/* oklch */ color: oklch(25.0% 0.097 306.9);
Tailwind
colors: {
  custom: {
    50: '#695079',
    500: '#2e0f45',
    950: '#000000',
  },
}
SCSS
$custom: #2e0f45;
$custom-light: #695079;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0f45",
  "rgb": {
    "r": 46,
    "g": 15,
    "b": 69
  },
  "hsl": {
    "h": 274.444,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.25017,
    "c": 0.0974,
    "h": 306.9
  },
  "luminance": 0.01352
}

Semantic roles & 50–950 ramp

primary
#2E0F45
secondary
#527F30
accent
#E74188
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2E0F45

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

Preview Lab → · Contrast checker → · Palette generator →

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