#250337#250337

#250337 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.7% C 0.096 H 310.4°. Best body text is #FFFFFF at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#250337
RGBrgb(37, 3, 55)
HSLhsl(279, 90%, 11%)
HSVhsv(279, 95%, 22%)
CMYKcmyk(32.7%, 94.5%, 0%, 78.4%)
CIE-LABlab(6.63, 27.44, -25.62)
CIE-LCHlch(6.63, 37.55, 316.96°)
OKLaboklab(20.71% 0.0623 -0.0732)
OKLCHoklch(20.71% 0.096 310.4)
XYZxyz(1.4850, 0.7343, 3.6772)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250337 #153703
analogous
#0B0337 #250337 #37032F
triadic
#250337 #372503 #033725
tetradic
#250337 #370B03 #153703 #032F37
square
#250337 #370B03 #153703 #032F37
split-complementary
#250337 #2F3703 #03370B
monochromatic
#14021D #14021D #250337 #4C0671 #7309AB

Accessibility & contrast

On white

18.31
#250337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#250337 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250337
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250337#FFFFFF#000000##FFFFFF
##2503371.0018.311.1518.31
#FFFFFF18.311.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001338
Deuteranopia (green-blind)
#001536
Tritanopia (blue-blind)
#22101D
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #250337;
/* rgb */ color: rgb(37, 3, 55);
/* oklch */ color: oklch(20.7% 0.096 310.4);
Tailwind
colors: {
  custom: {
    50: '#62486e',
    500: '#250337',
    950: '#000000',
  },
}
SCSS
$custom: #250337;
$custom-light: #62486e;
$custom-dark: #000000;
JSON
{
  "hex": "#250337",
  "rgb": {
    "r": 37,
    "g": 3,
    "b": 55
  },
  "hsl": {
    "h": 279.231,
    "s": 89.655,
    "l": 11.373
  },
  "oklch": {
    "l": 0.20712,
    "c": 0.09612,
    "h": 310.4
  },
  "luminance": 0.00734
}

Semantic roles & 50–950 ramp

primary
#250337
secondary
#3C7A1C
accent
#FF2973
background
#F6F4F6
surface
#EBE6EC
border
#C6C2C7
text
#050007
muted
#7A777A

Preview Lab

Preview with #250337

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

Preview Lab → · Contrast checker → · Palette generator →

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