#2D233A#2D233A

#2D233A is a dark, muted violet. Relative luminance 0.021; OKLCH L 27.8% C 0.043 H 303.7°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#2D233A
RGBrgb(45, 35, 58)
HSLhsl(266, 25%, 18%)
HSVhsv(266, 40%, 23%)
CMYKcmyk(22.4%, 39.7%, 0%, 77.3%)
CIE-LABlab(15.83, 10.45, -13.09)
CIE-LCHlch(15.83, 16.75, 308.61°)
OKLaboklab(27.85% 0.0241 -0.0361)
OKLCHoklch(27.85% 0.043 303.7)
XYZxyz(2.4468, 2.0654, 4.2719)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D233A #303A23
analogous
#23243A #2D233A #38233A
triadic
#2D233A #3A2D23 #233A2D
tetradic
#2D233A #3A2324 #303A23 #233A38
square
#2D233A #3A2324 #303A23 #233A38
split-complementary
#2D233A #3A3823 #243A23
monochromatic
#0F0C13 #0F0C14 #2D233A #4B3A60 #685186

Accessibility & contrast

On white

14.86
#2D233A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D233A
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D233A#FFFFFF#000000##FFFFFF
##2D233A1.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E273B
Deuteranopia (green-blind)
#202739
Tritanopia (blue-blind)
#2B262B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2d233a;
/* rgb */ color: rgb(45, 35, 58);
/* oklch */ color: oklch(27.8% 0.043 303.7);
Tailwind
colors: {
  custom: {
    50: '#665e70',
    500: '#2d233a',
    950: '#000000',
  },
}
SCSS
$custom: #2d233a;
$custom-light: #665e70;
$custom-dark: #000000;
JSON
{
  "hex": "#2d233a",
  "rgb": {
    "r": 45,
    "g": 35,
    "b": 58
  },
  "hsl": {
    "h": 266.087,
    "s": 24.731,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27849,
    "c": 0.04344,
    "h": 303.7
  },
  "luminance": 0.02065
}

Semantic roles & 50–950 ramp

primary
#2D233A
secondary
#5E6C4C
accent
#C1679A
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #2D233A

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

Preview Lab → · Contrast checker → · Palette generator →

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