#240933#240933

#240933 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.081 H 310.8°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#240933
RGBrgb(36, 9, 51)
HSLhsl(279, 70%, 12%)
HSVhsv(279, 82%, 20%)
CMYKcmyk(29.4%, 82.4%, 0%, 80%)
CIE-LABlab(7.31, 22.74, -21.61)
CIE-LCHlch(7.31, 31.37, 316.46°)
OKLaboklab(21.09% 0.0528 -0.0612)
OKLCHoklch(21.09% 0.081 310.8)
XYZxyz(1.4227, 0.8095, 3.2126)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240933 #183309
analogous
#0F0933 #240933 #33092D
triadic
#240933 #332409 #093324
tetradic
#240933 #330F09 #183309 #092D33
square
#240933 #330F09 #183309 #092D33
split-complementary
#240933 #2D3309 #09330F
monochromatic
#12051A #12051A #240933 #491267 #6D1B9B

Accessibility & contrast

On white

18.08
#240933 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240933
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240933#FFFFFF#000000##FFFFFF
##2409331.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001534
Deuteranopia (green-blind)
#041732
Tritanopia (blue-blind)
#22121D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #240933;
/* rgb */ color: rgb(36, 9, 51);
/* oklch */ color: oklch(21.1% 0.081 310.8);
Tailwind
colors: {
  custom: {
    50: '#614b6b',
    500: '#240933',
    950: '#000000',
  },
}
SCSS
$custom: #240933;
$custom-light: #614b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#240933",
  "rgb": {
    "r": 36,
    "g": 9,
    "b": 51
  },
  "hsl": {
    "h": 278.571,
    "s": 70,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21085,
    "c": 0.0808,
    "h": 310.8
  },
  "luminance": 0.00809
}

Semantic roles & 50–950 ramp

primary
#240933
secondary
#417127
accent
#ED3B7B
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #240933

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

Preview Lab → · Contrast checker → · Palette generator →

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