#2B1465#2B1465

#2B1465 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.4% C 0.131 H 287.9°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#2B1465
RGBrgb(43, 20, 101)
HSLhsl(257, 67%, 24%)
HSVhsv(257, 80%, 40%)
CMYKcmyk(57.4%, 80.2%, 0%, 60.4%)
CIE-LABlab(15.24, 33.18, -43.33)
CIE-LCHlch(15.24, 54.58, 307.44°)
OKLaboklab(28.42% 0.0403 -0.1246)
OKLCHoklch(28.42% 0.131 287.9)
XYZxyz(3.5947, 1.9533, 12.4970)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1465 #4E6514
analogous
#142565 #2B1465 #531465
triadic
#2B1465 #652B14 #14652B
tetradic
#2B1465 #651425 #4E6514 #146553
square
#2B1465 #651425 #4E6514 #146553
split-complementary
#2B1465 #655314 #256514
monochromatic
#0B051A #150A32 #2B1465 #411E98 #5628CB

Accessibility & contrast

On white

15.10
#2B1465 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#2B1465 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1465
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1465#FFFFFF#000000##FFFFFF
##2B14651.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002867
Deuteranopia (green-blind)
#002464
Tritanopia (blue-blind)
#132B3C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2b1465;
/* rgb */ color: rgb(43, 20, 101);
/* oklch */ color: oklch(28.4% 0.131 287.9);
Tailwind
colors: {
  custom: {
    50: '#6c5492',
    500: '#2b1465',
    950: '#000000',
  },
}
SCSS
$custom: #2b1465;
$custom-light: #6c5492;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1465",
  "rgb": {
    "r": 43,
    "g": 20,
    "b": 101
  },
  "hsl": {
    "h": 257.037,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28418,
    "c": 0.13102,
    "h": 287.9
  },
  "luminance": 0.01953
}

Semantic roles & 50–950 ramp

primary
#2B1465
secondary
#809C39
accent
#EA3EB9
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #2B1465

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

Preview Lab → · Contrast checker → · Palette generator →

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