#250537#250537

#250537 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.0% C 0.093 H 309.8°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#250537
RGBrgb(37, 5, 55)
HSLhsl(278, 83%, 12%)
HSVhsv(278, 91%, 22%)
CMYKcmyk(32.7%, 90.9%, 0%, 78.4%)
CIE-LABlab(7.02, 26.36, -24.99)
CIE-LCHlch(7.02, 36.32, 316.52°)
OKLaboklab(21.02% 0.0593 -0.0711)
OKLCHoklch(21.02% 0.093 309.8)
XYZxyz(1.5067, 0.7777, 3.6844)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250537 #173705
analogous
#0C0537 #250537 #370530
triadic
#250537 #372505 #053725
tetradic
#250537 #370C05 #173705 #053037
square
#250537 #370C05 #173705 #053037
split-complementary
#250537 #303705 #05370C
monochromatic
#13031C #13031C #250537 #4B0A6F #700FA7

Accessibility & contrast

On white

18.17
#250537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #250537
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250537#FFFFFF#000000##FFFFFF
##2505371.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #250537;
/* rgb */ color: rgb(37, 5, 55);
/* oklch */ color: oklch(21.0% 0.093 309.8);
Tailwind
colors: {
  custom: {
    50: '#62496e',
    500: '#250537',
    950: '#000000',
  },
}
SCSS
$custom: #250537;
$custom-light: #62496e;
$custom-dark: #000000;
JSON
{
  "hex": "#250537",
  "rgb": {
    "r": 37,
    "g": 5,
    "b": 55
  },
  "hsl": {
    "h": 278.4,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21016,
    "c": 0.09263,
    "h": 309.8
  },
  "luminance": 0.00778
}

Semantic roles & 50–950 ramp

primary
#250537
secondary
#407820
accent
#FA2E77
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050107
muted
#7A777A

Preview Lab

Preview with #250537

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

Preview Lab → · Contrast checker → · Palette generator →

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