#241370#241370

#241370 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.147 H 280.2°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#241370
RGBrgb(36, 19, 112)
HSLhsl(251, 71%, 26%)
HSVhsv(251, 83%, 44%)
CMYKcmyk(67.9%, 83%, 0%, 56.1%)
CIE-LABlab(15.54, 36.27, -50.07)
CIE-LCHlch(15.54, 61.82, 305.92°)
OKLaboklab(28.82% 0.0261 -0.1445)
OKLCHoklch(28.82% 0.147 280.2)
XYZxyz(3.8841, 2.0104, 15.5094)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241370 #5F7013
analogous
#133070 #241370 #521370
triadic
#241370 #702413 #137024
tetradic
#241370 #701330 #5F7013 #137052
square
#241370 #701330 #5F7013 #137052
split-complementary
#241370 #705213 #307013
monochromatic
#08041A #130A3C #241370 #351CA4 #4625D9

Accessibility & contrast

On white

14.98
#241370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#241370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241370
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241370#FFFFFF#000000##FFFFFF
##2413701.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A73
Deuteranopia (green-blind)
#00236E
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #241370;
/* rgb */ color: rgb(36, 19, 112);
/* oklch */ color: oklch(28.8% 0.147 280.2);
Tailwind
colors: {
  custom: {
    50: '#6b549a',
    500: '#241370',
    950: '#000000',
  },
}
SCSS
$custom: #241370;
$custom-light: #6b549a;
$custom-dark: #000000;
JSON
{
  "hex": "#241370",
  "rgb": {
    "r": 36,
    "g": 19,
    "b": 112
  },
  "hsl": {
    "h": 250.968,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28815,
    "c": 0.14687,
    "h": 280.2
  },
  "luminance": 0.02011
}

Semantic roles & 50–950 ramp

primary
#241370
secondary
#93A738
accent
#EE3ACD
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #241370

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

Preview Lab → · Contrast checker → · Palette generator →

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