#240733#240733

#240733 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.8% C 0.084 H 311.4°. Best body text is #FFFFFF at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#240733
RGBrgb(36, 7, 51)
HSLhsl(280, 76%, 11%)
HSVhsv(280, 86%, 20%)
CMYKcmyk(29.4%, 86.3%, 0%, 80%)
CIE-LABlab(6.92, 23.80, -22.24)
CIE-LCHlch(6.92, 32.57, 316.94°)
OKLaboklab(20.78% 0.0557 -0.0632)
OKLCHoklch(20.78% 0.084 311.4)
XYZxyz(1.4010, 0.7661, 3.2054)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240733 #163307
analogous
#0E0733 #240733 #33072C
triadic
#240733 #332407 #073324
tetradic
#240733 #330E07 #163307 #072C33
square
#240733 #330E07 #163307 #072C33
split-complementary
#240733 #2C3307 #07330E
monochromatic
#13041B #13041B #240733 #4A0E69 #70169F

Accessibility & contrast

On white

18.21
#240733 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#240733 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240733
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240733#FFFFFF#000000##FFFFFF
##2407331.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001434
Deuteranopia (green-blind)
#031632
Tritanopia (blue-blind)
#22111C
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #240733;
/* rgb */ color: rgb(36, 7, 51);
/* oklch */ color: oklch(20.8% 0.084 311.4);
Tailwind
colors: {
  custom: {
    50: '#61496b',
    500: '#240733',
    950: '#000000',
  },
}
SCSS
$custom: #240733;
$custom-light: #61496b;
$custom-dark: #000000;
JSON
{
  "hex": "#240733",
  "rgb": {
    "r": 36,
    "g": 7,
    "b": 51
  },
  "hsl": {
    "h": 279.545,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.20783,
    "c": 0.08421,
    "h": 311.4
  },
  "luminance": 0.00766
}

Semantic roles & 50–950 ramp

primary
#240733
secondary
#3E7323
accent
#F23576
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #240733

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

Preview Lab → · Contrast checker → · Palette generator →

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