#2B0E40#2B0E40

#2B0E40 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.0% C 0.092 H 307.4°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#2B0E40
RGBrgb(43, 14, 64)
HSLhsl(275, 64%, 15%)
HSVhsv(275, 78%, 25%)
CMYKcmyk(32.8%, 78.1%, 0%, 74.9%)
CIE-LABlab(10.54, 25.42, -25.72)
CIE-LCHlch(10.54, 36.16, 314.66°)
OKLaboklab(24% 0.0557 -0.0729)
OKLCHoklch(24% 0.092 307.4)
XYZxyz(2.0785, 1.1979, 4.9712)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0E40 #23400E
analogous
#120E40 #2B0E40 #400E3C
triadic
#2B0E40 #402B0E #0E402B
tetradic
#2B0E40 #40120E #23400E #0E3C40
square
#2B0E40 #40120E #23400E #0E3C40
split-complementary
#2B0E40 #3C400E #0E4012
monochromatic
#110519 #110519 #2B0E40 #4D1972 #6E24A4

Accessibility & contrast

On white

16.94
#2B0E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2B0E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0E40
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0E40#FFFFFF#000000##FFFFFF
##2B0E401.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C41
Deuteranopia (green-blind)
#031D3F
Tritanopia (blue-blind)
#281925
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2b0e40;
/* rgb */ color: rgb(43, 14, 64);
/* oklch */ color: oklch(24.0% 0.092 307.4);
Tailwind
colors: {
  custom: {
    50: '#674f75',
    500: '#2b0e40',
    950: '#000000',
  },
}
SCSS
$custom: #2b0e40;
$custom-light: #674f75;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0e40",
  "rgb": {
    "r": 43,
    "g": 14,
    "b": 64
  },
  "hsl": {
    "h": 274.8,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24001,
    "c": 0.09175,
    "h": 307.4
  },
  "luminance": 0.01198
}

Semantic roles & 50–950 ramp

primary
#2B0E40
secondary
#4F7B2F
accent
#E74187
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2B0E40

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

Preview Lab → · Contrast checker → · Palette generator →

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