#2B194F#2B194F

#2B194F is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.1% C 0.095 H 294.6°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#2B194F
RGBrgb(43, 25, 79)
HSLhsl(260, 52%, 20%)
HSVhsv(260, 68%, 31%)
CMYKcmyk(45.6%, 68.4%, 0%, 69%)
CIE-LABlab(14.25, 23.20, -30.17)
CIE-LCHlch(14.25, 38.06, 307.56°)
OKLaboklab(27.07% 0.0394 -0.086)
OKLCHoklch(27.07% 0.095 294.6)
XYZxyz(2.7548, 1.7733, 7.5928)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B194F #3D4F19
analogous
#19224F #2B194F #46194F
triadic
#2B194F #4F2B19 #194F2B
tetradic
#2B194F #4F1922 #3D4F19 #194F46
square
#2B194F #4F1922 #3D4F19 #194F46
split-complementary
#2B194F #4F4619 #224F19
monochromatic
#0D0717 #120A21 #2B194F #44287D #5E36AC

Accessibility & contrast

On white

15.50
#2B194F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#2B194F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B194F
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B194F#FFFFFF#000000##FFFFFF
##2B194F1.0015.501.3515.50
#FFFFFF15.501.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002551
Deuteranopia (green-blind)
#00234E
Tritanopia (blue-blind)
#222531
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2b194f;
/* rgb */ color: rgb(43, 25, 79);
/* oklch */ color: oklch(27.1% 0.095 294.6);
Tailwind
colors: {
  custom: {
    50: '#685681',
    500: '#2b194f',
    950: '#000000',
  },
}
SCSS
$custom: #2b194f;
$custom-light: #685681;
$custom-dark: #000000;
JSON
{
  "hex": "#2b194f",
  "rgb": {
    "r": 43,
    "g": 25,
    "b": 79
  },
  "hsl": {
    "h": 260,
    "s": 51.923,
    "l": 20.392
  },
  "oklch": {
    "l": 0.27071,
    "c": 0.0946,
    "h": 294.6
  },
  "luminance": 0.01773
}

Semantic roles & 50–950 ramp

primary
#2B194F
secondary
#6E853E
accent
#DB4CAC
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06030A
muted
#7A787C

Preview Lab

Preview with #2B194F

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

Preview Lab → · Contrast checker → · Palette generator →

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