#2D233E#2D233E

#2D233E is a dark, muted violet. Relative luminance 0.021; OKLCH L 28.1% C 0.050 H 300.3°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#2D233E
RGBrgb(45, 35, 62)
HSLhsl(262, 28%, 19%)
HSVhsv(262, 44%, 24%)
CMYKcmyk(27.4%, 43.5%, 0%, 75.7%)
CIE-LABlab(16.04, 11.62, -15.55)
CIE-LCHlch(16.04, 19.41, 306.77°)
OKLaboklab(28.08% 0.0252 -0.0432)
OKLCHoklch(28.08% 0.05 300.3)
XYZxyz(2.5525, 2.1077, 4.8289)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D233E #343E23
analogous
#23273E #2D233E #3B233E
triadic
#2D233E #3E2D23 #233E2D
tetradic
#2D233E #3E2327 #343E23 #233E3B
square
#2D233E #3E2327 #343E23 #233E3B
split-complementary
#2D233E #3E3B23 #273E23
monochromatic
#0E0B14 #110D17 #2D233E #493965 #664F8C

Accessibility & contrast

On white

14.77
#2D233E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D233E
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D233E#FFFFFF#000000##FFFFFF
##2D233E1.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C283F
Deuteranopia (green-blind)
#1E283D
Tritanopia (blue-blind)
#2A272D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2d233e;
/* rgb */ color: rgb(45, 35, 62);
/* oklch */ color: oklch(28.1% 0.050 300.3);
Tailwind
colors: {
  custom: {
    50: '#665e73',
    500: '#2d233e',
    950: '#000000',
  },
}
SCSS
$custom: #2d233e;
$custom-light: #665e73;
$custom-dark: #000000;
JSON
{
  "hex": "#2d233e",
  "rgb": {
    "r": 45,
    "g": 35,
    "b": 62
  },
  "hsl": {
    "h": 262.222,
    "s": 27.835,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28085,
    "c": 0.05005,
    "h": 300.3
  },
  "luminance": 0.02108
}

Semantic roles & 50–950 ramp

primary
#2D233E
secondary
#63714C
accent
#C464A0
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B

Preview Lab

Preview with #2D233E

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

Preview Lab → · Contrast checker → · Palette generator →

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