#250438#250438

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

Color values

HEX#250438
RGBrgb(37, 4, 56)
HSLhsl(278, 87%, 12%)
HSVhsv(278, 93%, 22%)
CMYKcmyk(33.9%, 92.9%, 0%, 78%)
CIE-LABlab(6.92, 27.19, -25.90)
CIE-LCHlch(6.92, 37.55, 316.40°)
OKLaboklab(20.96% 0.0605 -0.0738)
OKLCHoklch(20.96% 0.095 309.3)
XYZxyz(1.5200, 0.7657, 3.8083)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250438 #173804
analogous
#0B0438 #250438 #380431
triadic
#250438 #382504 #043825
tetradic
#250438 #380B04 #173804 #043138
square
#250438 #380B04 #173804 #043138
split-complementary
#250438 #313804 #04380B
monochromatic
#13021D #13021D #250438 #4B0871 #700CAA

Accessibility & contrast

On white

18.21
#250438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #250438
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250438#FFFFFF#000000##FFFFFF
##2504381.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #250438;
/* rgb */ color: rgb(37, 4, 56);
/* oklch */ color: oklch(21.0% 0.095 309.3);
Tailwind
colors: {
  custom: {
    50: '#62486f',
    500: '#250438',
    950: '#000000',
  },
}
SCSS
$custom: #250438;
$custom-light: #62486f;
$custom-dark: #000000;
JSON
{
  "hex": "#250438",
  "rgb": {
    "r": 37,
    "g": 4,
    "b": 56
  },
  "hsl": {
    "h": 278.077,
    "s": 86.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.20963,
    "c": 0.09545,
    "h": 309.3
  },
  "luminance": 0.00766
}

Semantic roles & 50–950 ramp

primary
#250438
secondary
#407A1E
accent
#FD2B78
background
#F6F4F6
surface
#EBE6EC
border
#C6C2C7
text
#050107
muted
#7A777A

Preview Lab

Preview with #250438

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

Preview Lab → · Contrast checker → · Palette generator →

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