#2B1469#2B1469

#2B1469 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.136 H 286.7°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#2B1469
RGBrgb(43, 20, 105)
HSLhsl(256, 68%, 25%)
HSVhsv(256, 81%, 41%)
CMYKcmyk(59%, 81%, 0%, 58.8%)
CIE-LABlab(15.66, 34.43, -45.27)
CIE-LCHlch(15.66, 56.87, 307.25°)
OKLaboklab(28.84% 0.0391 -0.1303)
OKLCHoklch(28.84% 0.136 286.7)
XYZxyz(3.7955, 2.0336, 13.5544)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1469 #526914
analogous
#142869 #2B1469 #561469
triadic
#2B1469 #692B14 #14692B
tetradic
#2B1469 #691428 #526914 #146956
square
#2B1469 #691428 #526914 #146956
split-complementary
#2B1469 #695614 #286914
monochromatic
#0B051A #160A36 #2B1469 #401E9C #5528D0

Accessibility & contrast

On white

14.93
#2B1469 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#2B1469 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1469
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1469#FFFFFF#000000##FFFFFF
##2B14691.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296B
Deuteranopia (green-blind)
#002567
Tritanopia (blue-blind)
#0E2C3E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2b1469;
/* rgb */ color: rgb(43, 20, 105);
/* oklch */ color: oklch(28.8% 0.136 286.7);
Tailwind
colors: {
  custom: {
    50: '#6d5595',
    500: '#2b1469',
    950: '#000000',
  },
}
SCSS
$custom: #2b1469;
$custom-light: #6d5595;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1469",
  "rgb": {
    "r": 43,
    "g": 20,
    "b": 105
  },
  "hsl": {
    "h": 256.235,
    "s": 68,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28841,
    "c": 0.13606,
    "h": 286.7
  },
  "luminance": 0.02034
}

Semantic roles & 50–950 ramp

primary
#2B1469
secondary
#84A039
accent
#EB3DBC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2B1469

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

Preview Lab → · Contrast checker → · Palette generator →

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