#250538#250538

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

Color values

HEX#250538
RGBrgb(37, 5, 56)
HSLhsl(278, 84%, 12%)
HSVhsv(278, 91%, 22%)
CMYKcmyk(33.9%, 91.1%, 0%, 78%)
CIE-LABlab(7.11, 26.65, -25.58)
CIE-LCHlch(7.11, 36.94, 316.17°)
OKLaboklab(21.11% 0.059 -0.0728)
OKLCHoklch(21.11% 0.094 309)
XYZxyz(1.5309, 0.7874, 3.8120)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250538 #183805
analogous
#0C0538 #250538 #380532
triadic
#250538 #382505 #053825
tetradic
#250538 #380C05 #183805 #053238
square
#250538 #380C05 #183805 #053238
split-complementary
#250538 #323805 #05380C
monochromatic
#13031C #13031C #250538 #4A0A70 #6F0FA8

Accessibility & contrast

On white

18.14
#250538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #250538
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250538#FFFFFF#000000##FFFFFF
##2505381.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001439
Deuteranopia (green-blind)
#001637
Tritanopia (blue-blind)
#22111E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #250538;
/* rgb */ color: rgb(37, 5, 56);
/* oklch */ color: oklch(21.1% 0.094 309.0);
Tailwind
colors: {
  custom: {
    50: '#62496f',
    500: '#250538',
    950: '#000000',
  },
}
SCSS
$custom: #250538;
$custom-light: #62496f;
$custom-dark: #000000;
JSON
{
  "hex": "#250538",
  "rgb": {
    "r": 37,
    "g": 5,
    "b": 56
  },
  "hsl": {
    "h": 277.647,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21112,
    "c": 0.09376,
    "h": 309
  },
  "luminance": 0.00787
}

Semantic roles & 50–950 ramp

primary
#250538
secondary
#417920
accent
#FA2E7A
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050107
muted
#7A777A

Preview Lab

Preview with #250538

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

Preview Lab → · Contrast checker → · Palette generator →

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