#2B233B#2B233B

#2B233B is a dark, muted violet. Relative luminance 0.020; OKLCH L 27.7% C 0.045 H 298.8°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#2B233B
RGBrgb(43, 35, 59)
HSLhsl(260, 26%, 18%)
HSVhsv(260, 41%, 23%)
CMYKcmyk(27.1%, 40.7%, 0%, 76.9%)
CIE-LABlab(15.65, 9.98, -14.08)
CIE-LCHlch(15.65, 17.26, 305.35°)
OKLaboklab(27.68% 0.0215 -0.039)
OKLCHoklch(27.68% 0.045 298.8)
XYZxyz(2.3865, 2.0314, 4.4032)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B233B #333B23
analogous
#23273B #2B233B #37233B
triadic
#2B233B #3B2B23 #233B2B
tetradic
#2B233B #3B2327 #333B23 #233B37
square
#2B233B #3B2327 #333B23 #233B37
split-complementary
#2B233B #3B3723 #273B23
monochromatic
#0E0B13 #0F0C15 #2B233B #473A61 #635188

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B233B#FFFFFF#000000##FFFFFF
##2B233B1.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)
#1D273C
Deuteranopia (green-blind)
#1F273A
Tritanopia (blue-blind)
#28272C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2b233b;
/* rgb */ color: rgb(43, 35, 59);
/* oklch */ color: oklch(27.7% 0.045 298.8);
Tailwind
colors: {
  custom: {
    50: '#655d71',
    500: '#2b233b',
    950: '#000000',
  },
}
SCSS
$custom: #2b233b;
$custom-light: #655d71;
$custom-dark: #000000;
JSON
{
  "hex": "#2b233b",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 59
  },
  "hsl": {
    "h": 260,
    "s": 25.532,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27678,
    "c": 0.04455,
    "h": 298.8
  },
  "luminance": 0.02031
}

Semantic roles & 50–950 ramp

primary
#2B233B
secondary
#626E4C
accent
#C266A3
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#050407
muted
#7A797A

Preview Lab

Preview with #2B233B

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

Preview Lab → · Contrast checker → · Palette generator →

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