#231E33#231E33

#231E33 is a dark, muted violet. Relative luminance 0.015; OKLCH L 25.1% C 0.040 H 294.3°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#231E33
RGBrgb(35, 30, 51)
HSLhsl(254, 26%, 16%)
HSVhsv(254, 41%, 20%)
CMYKcmyk(31.4%, 41.2%, 0%, 80%)
CIE-LABlab(12.77, 8.16, -12.97)
CIE-LCHlch(12.77, 15.32, 302.18°)
OKLaboklab(25.12% 0.0163 -0.036)
OKLCHoklch(25.12% 0.04 294.3)
XYZxyz(1.7548, 1.5249, 3.3332)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E33 #2E331E
analogous
#1E2333 #231E33 #2D1E33
triadic
#231E33 #33231E #1E3323
tetradic
#231E33 #331E23 #2E331E #1E332D
square
#231E33 #331E23 #2E331E #1E332D
split-complementary
#231E33 #332D1E #23331E
monochromatic
#0D0B13 #0D0B13 #231E33 #3D355A #584B80

Accessibility & contrast

On white

16.09
#231E33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#231E33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E33
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E33#FFFFFF#000000##FFFFFF
##231E331.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192134
Deuteranopia (green-blind)
#192132
Tritanopia (blue-blind)
#202226
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #231e33;
/* rgb */ color: rgb(35, 30, 51);
/* oklch */ color: oklch(25.1% 0.040 294.3);
Tailwind
colors: {
  custom: {
    50: '#5e596a',
    500: '#231e33',
    950: '#000000',
  },
}
SCSS
$custom: #231e33;
$custom-light: #5e596a;
$custom-dark: #000000;
JSON
{
  "hex": "#231e33",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 51
  },
  "hsl": {
    "h": 254.286,
    "s": 25.926,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25116,
    "c": 0.03954,
    "h": 294.3
  },
  "luminance": 0.01525
}

Semantic roles & 50–950 ramp

primary
#231E33
secondary
#5F6647
accent
#C265AC
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040306
muted
#79787A

Preview Lab

Preview with #231E33

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

Preview Lab → · Contrast checker → · Palette generator →

#231E33 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva