#2B233F#2B233F

#2B233F is a dark, muted violet. Relative luminance 0.021; OKLCH L 27.9% C 0.051 H 296.1°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#2B233F
RGBrgb(43, 35, 63)
HSLhsl(257, 29%, 19%)
HSVhsv(257, 44%, 25%)
CMYKcmyk(31.7%, 44.4%, 0%, 75.3%)
CIE-LABlab(15.87, 11.20, -16.53)
CIE-LCHlch(15.87, 19.96, 304.12°)
OKLaboklab(27.92% 0.0226 -0.0461)
OKLCHoklch(27.92% 0.051 296.1)
XYZxyz(2.4943, 2.0745, 4.9707)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B233F #373F23
analogous
#23293F #2B233F #39233F
triadic
#2B233F #3F2B23 #233F2B
tetradic
#2B233F #3F2329 #373F23 #233F39
square
#2B233F #3F2329 #373F23 #233F39
split-complementary
#2B233F #3F3923 #293F23
monochromatic
#0D0B14 #100D18 #2B233F #463966 #614F8E

Accessibility & contrast

On white

14.84
#2B233F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2B233F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B233F
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B233F#FFFFFF#000000##FFFFFF
##2B233F1.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2840
Deuteranopia (green-blind)
#1D273E
Tritanopia (blue-blind)
#27282E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2b233f;
/* rgb */ color: rgb(43, 35, 63);
/* oklch */ color: oklch(27.9% 0.051 296.1);
Tailwind
colors: {
  custom: {
    50: '#655d74',
    500: '#2b233f',
    950: '#000000',
  },
}
SCSS
$custom: #2b233f;
$custom-light: #655d74;
$custom-dark: #000000;
JSON
{
  "hex": "#2b233f",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 63
  },
  "hsl": {
    "h": 257.143,
    "s": 28.571,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27921,
    "c": 0.05133,
    "h": 296.1
  },
  "luminance": 0.02075
}

Semantic roles & 50–950 ramp

primary
#2B233F
secondary
#67724C
accent
#C563A9
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#050408
muted
#7A797B

Preview Lab

Preview with #2B233F

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

Preview Lab → · Contrast checker → · Palette generator →

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