#241034#241034

#241034 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.3% C 0.070 H 307.3°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#241034
RGBrgb(36, 16, 52)
HSLhsl(273, 53%, 13%)
HSVhsv(273, 69%, 20%)
CMYKcmyk(30.8%, 69.2%, 0%, 79.6%)
CIE-LABlab(8.94, 18.83, -19.73)
CIE-LCHlch(8.94, 27.27, 313.66°)
OKLaboklab(22.3% 0.0423 -0.0556)
OKLCHoklch(22.3% 0.07 307.3)
XYZxyz(1.5326, 0.9936, 3.3592)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241034 #203410
analogous
#121034 #241034 #341032
triadic
#241034 #342410 #103424
tetradic
#241034 #341210 #203410 #103234
square
#241034 #341210 #203410 #103234
split-complementary
#241034 #323410 #103412
monochromatic
#100717 #100717 #241034 #441E63 #652D92

Accessibility & contrast

On white

17.52
#241034 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#241034 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241034
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241034#FFFFFF#000000##FFFFFF
##2410341.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041935
Deuteranopia (green-blind)
#0A1A33
Tritanopia (blue-blind)
#221720
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #241034;
/* rgb */ color: rgb(36, 16, 52);
/* oklch */ color: oklch(22.3% 0.070 307.3);
Tailwind
colors: {
  custom: {
    50: '#604f6c',
    500: '#241034',
    950: '#000000',
  },
}
SCSS
$custom: #241034;
$custom-light: #604f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#241034",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 52
  },
  "hsl": {
    "h": 273.333,
    "s": 52.941,
    "l": 13.333
  },
  "oklch": {
    "l": 0.223,
    "c": 0.06989,
    "h": 307.3
  },
  "luminance": 0.00994
}

Semantic roles & 50–950 ramp

primary
#241034
secondary
#4D6E32
accent
#DC4B8C
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050207
muted
#79787A

Preview Lab

Preview with #241034

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

Preview Lab → · Contrast checker → · Palette generator →

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