#2B1969#2B1969

#2B1969 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.130 H 285.5°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#2B1969
RGBrgb(43, 25, 105)
HSLhsl(254, 62%, 25%)
HSVhsv(254, 76%, 41%)
CMYKcmyk(59%, 76.2%, 0%, 58.8%)
CIE-LABlab(16.64, 31.64, -43.66)
CIE-LCHlch(16.64, 53.92, 305.93°)
OKLaboklab(29.53% 0.0349 -0.1257)
OKLCHoklch(29.53% 0.13 285.5)
XYZxyz(3.8929, 2.2286, 13.5869)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1969 #576919
analogous
#192F69 #2B1969 #531969
triadic
#2B1969 #692B19 #19692B
tetradic
#2B1969 #69192F #576919 #196953
square
#2B1969 #69192F #576919 #196953
split-complementary
#2B1969 #695319 #2F6919
monochromatic
#0A0619 #170D38 #2B1969 #3F259A #5331CC

Accessibility & contrast

On white

14.52
#2B1969 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2B1969 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1969
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1969#FFFFFF#000000##FFFFFF
##2B19691.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6B
Deuteranopia (green-blind)
#002767
Tritanopia (blue-blind)
#0E2F3F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2b1969;
/* rgb */ color: rgb(43, 25, 105);
/* oklch */ color: oklch(29.5% 0.130 285.5);
Tailwind
colors: {
  custom: {
    50: '#6c5895',
    500: '#2b1969',
    950: '#000000',
  },
}
SCSS
$custom: #2b1969;
$custom-light: #6c5895;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1969",
  "rgb": {
    "r": 43,
    "g": 25,
    "b": 105
  },
  "hsl": {
    "h": 253.5,
    "s": 61.538,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29532,
    "c": 0.13042,
    "h": 285.5
  },
  "luminance": 0.02229
}

Semantic roles & 50–950 ramp

primary
#2B1969
secondary
#899F3F
accent
#E543C0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #2B1969

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

Preview Lab → · Contrast checker → · Palette generator →

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