#240932#240932

#240932 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.0% C 0.080 H 311.7°. Best body text is #FFFFFF at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#240932
RGBrgb(36, 9, 50)
HSLhsl(280, 69%, 12%)
HSVhsv(280, 82%, 20%)
CMYKcmyk(28%, 82%, 0%, 80.4%)
CIE-LABlab(7.23, 22.45, -21.00)
CIE-LCHlch(7.23, 30.74, 316.91°)
OKLaboklab(21% 0.0529 -0.0594)
OKLCHoklch(21% 0.08 311.7)
XYZxyz(1.4009, 0.8008, 3.0978)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240932 #173209
analogous
#100932 #240932 #32092C
triadic
#240932 #322409 #093224
tetradic
#240932 #321009 #173209 #092C32
square
#240932 #321009 #173209 #092C32
split-complementary
#240932 #2C3209 #093210
monochromatic
#13051A #13051A #240932 #491266 #6F1C9A

Accessibility & contrast

On white

18.10
#240932 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#240932 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240932
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240932#FFFFFF#000000##FFFFFF
##2409321.0018.101.1618.10
#FFFFFF18.101.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001533
Deuteranopia (green-blind)
#051631
Tritanopia (blue-blind)
#22121C
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #240932;
/* rgb */ color: rgb(36, 9, 50);
/* oklch */ color: oklch(21.0% 0.080 311.7);
Tailwind
colors: {
  custom: {
    50: '#614b6a',
    500: '#240932',
    950: '#000000',
  },
}
SCSS
$custom: #240932;
$custom-light: #614b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#240932",
  "rgb": {
    "r": 36,
    "g": 9,
    "b": 50
  },
  "hsl": {
    "h": 279.512,
    "s": 69.492,
    "l": 11.569
  },
  "oklch": {
    "l": 0.20998,
    "c": 0.07956,
    "h": 311.7
  },
  "luminance": 0.00801
}

Semantic roles & 50–950 ramp

primary
#240932
secondary
#407027
accent
#EC3B78
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #240932

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

Preview Lab → · Contrast checker → · Palette generator →

#240932 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva