#250338#250338

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

Color values

HEX#250338
RGBrgb(37, 3, 56)
HSLhsl(278, 90%, 12%)
HSVhsv(278, 95%, 22%)
CMYKcmyk(33.9%, 94.6%, 0%, 78%)
CIE-LABlab(6.72, 27.74, -26.21)
CIE-LCHlch(6.72, 38.16, 316.62°)
OKLaboklab(20.81% 0.062 -0.0749)
OKLCHoklch(20.81% 0.097 309.6)
XYZxyz(1.5092, 0.7440, 3.8047)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250338 #163803
analogous
#0B0338 #250338 #380331
triadic
#250338 #382503 #033825
tetradic
#250338 #380B03 #163803 #033138
square
#250338 #380B03 #163803 #033138
split-complementary
#250338 #313803 #03380B
monochromatic
#13021D #13021D #250338 #4B0672 #7209AC

Accessibility & contrast

On white

18.28
#250338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #250338
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250338#FFFFFF#000000##FFFFFF
##2503381.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #250338;
/* rgb */ color: rgb(37, 3, 56);
/* oklch */ color: oklch(20.8% 0.097 309.6);
Tailwind
colors: {
  custom: {
    50: '#62486f',
    500: '#250338',
    950: '#000000',
  },
}
SCSS
$custom: #250338;
$custom-light: #62486f;
$custom-dark: #000000;
JSON
{
  "hex": "#250338",
  "rgb": {
    "r": 37,
    "g": 3,
    "b": 56
  },
  "hsl": {
    "h": 278.491,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.20811,
    "c": 0.09718,
    "h": 309.6
  },
  "luminance": 0.00744
}

Semantic roles & 50–950 ramp

primary
#250338
secondary
#3E7B1C
accent
#FF2976
background
#F6F4F6
surface
#EBE6EC
border
#C6C2C7
text
#050007
muted
#7A777A

Preview Lab

Preview with #250338

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

Preview Lab → · Contrast checker → · Palette generator →

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