#241275#241275

#241275 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.154 H 279.4°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#241275
RGBrgb(36, 18, 117)
HSLhsl(251, 73%, 26%)
HSVhsv(251, 85%, 46%)
CMYKcmyk(69.2%, 84.6%, 0%, 54.1%)
CIE-LABlab(15.96, 38.35, -52.61)
CIE-LCHlch(15.96, 65.11, 306.09°)
OKLaboklab(29.28% 0.025 -0.1519)
OKLCHoklch(29.28% 0.154 279.4)
XYZxyz(4.1537, 2.0917, 17.0110)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241275 #637512
analogous
#123275 #241275 #561275
triadic
#241275 #752412 #127524
tetradic
#241275 #751232 #637512 #127556
square
#241275 #751232 #637512 #127556
split-complementary
#241275 #755612 #327512
monochromatic
#08041B #140A40 #241275 #341AAA #4624DD

Accessibility & contrast

On white

14.81
#241275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#241275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241275
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241275#FFFFFF#000000##FFFFFF
##2412751.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B78
Deuteranopia (green-blind)
#002473
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #241275;
/* rgb */ color: rgb(36, 18, 117);
/* oklch */ color: oklch(29.3% 0.154 279.4);
Tailwind
colors: {
  custom: {
    50: '#6c549e',
    500: '#241275',
    950: '#000000',
  },
}
SCSS
$custom: #241275;
$custom-light: #6c549e;
$custom-dark: #000000;
JSON
{
  "hex": "#241275",
  "rgb": {
    "r": 36,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 250.909,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.2928,
    "c": 0.15397,
    "h": 279.4
  },
  "luminance": 0.02092
}

Semantic roles & 50–950 ramp

primary
#241275
secondary
#96AC37
accent
#F038CF
background
#F7F5F9
surface
#EDE8F2
border
#C8C4CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #241275

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

Preview Lab → · Contrast checker → · Palette generator →

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