#250239#250239

#250239 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.8% C 0.100 H 309.1°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#250239
RGBrgb(37, 2, 57)
HSLhsl(278, 93%, 12%)
HSVhsv(278, 96%, 22%)
CMYKcmyk(35.1%, 96.5%, 0%, 77.6%)
CIE-LABlab(6.61, 28.58, -27.11)
CIE-LCHlch(6.61, 39.39, 316.51°)
OKLaboklab(20.76% 0.0631 -0.0776)
OKLCHoklch(20.76% 0.1 309.1)
XYZxyz(1.5230, 0.7322, 3.9312)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250239 #163902
analogous
#0A0239 #250239 #390232
triadic
#250239 #392502 #023925
tetradic
#250239 #390A02 #163902 #023239
square
#250239 #390A02 #163902 #023239
split-complementary
#250239 #323902 #02390A
monochromatic
#13011E #13011E #250239 #4B0474 #7206AF

Accessibility & contrast

On white

18.32
#250239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #250239
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250239#FFFFFF#000000##FFFFFF
##2502391.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133A
Deuteranopia (green-blind)
#001538
Tritanopia (blue-blind)
#22101E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #250239;
/* rgb */ color: rgb(37, 2, 57);
/* oklch */ color: oklch(20.8% 0.100 309.1);
Tailwind
colors: {
  custom: {
    50: '#634770',
    500: '#250239',
    950: '#000000',
  },
}
SCSS
$custom: #250239;
$custom-light: #634770;
$custom-dark: #000000;
JSON
{
  "hex": "#250239",
  "rgb": {
    "r": 37,
    "g": 2,
    "b": 57
  },
  "hsl": {
    "h": 278.182,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.20759,
    "c": 0.09997,
    "h": 309.1
  },
  "luminance": 0.00732
}

Semantic roles & 50–950 ramp

primary
#250239
secondary
#3E7D1A
accent
#FF2977
background
#F6F4F6
surface
#EBE6EC
border
#C6C2C7
text
#050007
muted
#7A777A

Preview Lab

Preview with #250239

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

Preview Lab → · Contrast checker → · Palette generator →

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