#2B146F#2B146F

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

Color values

HEX#2B146F
RGBrgb(43, 20, 111)
HSLhsl(255, 69%, 26%)
HSVhsv(255, 82%, 44%)
CMYKcmyk(61.3%, 82%, 0%, 56.5%)
CIE-LABlab(16.31, 36.29, -48.12)
CIE-LCHlch(16.31, 60.27, 307.02°)
OKLaboklab(29.49% 0.0372 -0.1386)
OKLCHoklch(29.49% 0.144 285)
XYZxyz(4.1148, 2.1613, 15.2362)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B146F #586F14
analogous
#142A6F #2B146F #58146F
triadic
#2B146F #6F2B14 #146F2B
tetradic
#2B146F #6F142A #586F14 #146F58
square
#2B146F #6F142A #586F14 #146F58
split-complementary
#2B146F #6F5814 #2A6F14
monochromatic
#0A051A #170B3B #2B146F #3F1DA3 #5327D7

Accessibility & contrast

On white

14.66
#2B146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2B146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B146F
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B146F#FFFFFF#000000##FFFFFF
##2B146F1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00266D
Tritanopia (blue-blind)
#052F41
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2b146f;
/* rgb */ color: rgb(43, 20, 111);
/* oklch */ color: oklch(29.5% 0.144 285.0);
Tailwind
colors: {
  custom: {
    50: '#6e5599',
    500: '#2b146f',
    950: '#000000',
  },
}
SCSS
$custom: #2b146f;
$custom-light: #6e5599;
$custom-dark: #000000;
JSON
{
  "hex": "#2b146f",
  "rgb": {
    "r": 43,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 255.165,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.2949,
    "c": 0.14356,
    "h": 285
  },
  "luminance": 0.02162
}

Semantic roles & 50–950 ramp

primary
#2B146F
secondary
#8AA639
accent
#EC3CC0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #2B146F

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

Preview Lab → · Contrast checker → · Palette generator →

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