#2B0E45#2B0E45

#2B0E45 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.098 H 304.0°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#2B0E45
RGBrgb(43, 14, 69)
HSLhsl(272, 66%, 16%)
HSVhsv(272, 80%, 27%)
CMYKcmyk(37.7%, 79.7%, 0%, 72.9%)
CIE-LABlab(10.97, 26.81, -28.55)
CIE-LCHlch(10.97, 39.17, 313.21°)
OKLaboklab(24.45% 0.0548 -0.0812)
OKLCHoklch(24.45% 0.098 304)
XYZxyz(2.2272, 1.2573, 5.7544)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0E45 #28450E
analogous
#100E45 #2B0E45 #450E44
triadic
#2B0E45 #452B0E #0E452B
tetradic
#2B0E45 #45100E #28450E #0E4445
square
#2B0E45 #45100E #28450E #0E4445
split-complementary
#2B0E45 #44450E #0E4510
monochromatic
#100519 #100519 #2B0E45 #4B1878 #6A23AB

Accessibility & contrast

On white

16.78
#2B0E45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0E45
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0E45#FFFFFF#000000##FFFFFF
##2B0E451.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D47
Deuteranopia (green-blind)
#001D44
Tritanopia (blue-blind)
#261B28
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2b0e45;
/* rgb */ color: rgb(43, 14, 69);
/* oklch */ color: oklch(24.4% 0.098 304.0);
Tailwind
colors: {
  custom: {
    50: '#674f79',
    500: '#2b0e45',
    950: '#000000',
  },
}
SCSS
$custom: #2b0e45;
$custom-light: #674f79;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0e45",
  "rgb": {
    "r": 43,
    "g": 14,
    "b": 69
  },
  "hsl": {
    "h": 271.636,
    "s": 66.265,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24445,
    "c": 0.098,
    "h": 304
  },
  "luminance": 0.01257
}

Semantic roles & 50–950 ramp

primary
#2B0E45
secondary
#55802F
accent
#E93F8F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2B0E45

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

Preview Lab → · Contrast checker → · Palette generator →

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