#230737#230737

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

Color values

HEX#230737
RGBrgb(35, 7, 55)
HSLhsl(275, 77%, 12%)
HSVhsv(275, 87%, 22%)
CMYKcmyk(36.4%, 87.3%, 0%, 78.4%)
CIE-LABlab(7.09, 24.72, -24.90)
CIE-LCHlch(7.09, 35.09, 314.79°)
OKLaboklab(20.99% 0.0531 -0.071)
OKLCHoklch(20.99% 0.089 306.8)
XYZxyz(1.4586, 0.7851, 3.6884)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230737 #1B3707
analogous
#0B0737 #230737 #370733
triadic
#230737 #372307 #073723
tetradic
#230737 #370B07 #1B3707 #073337
square
#230737 #370B07 #1B3707 #073337
split-complementary
#230737 #333707 #07370B
monochromatic
#11031B #11031B #230737 #460E6D #6815A4

Accessibility & contrast

On white

18.15
#230737 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230737
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230737#FFFFFF#000000##FFFFFF
##2307371.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #230737;
/* rgb */ color: rgb(35, 7, 55);
/* oklch */ color: oklch(21.0% 0.089 306.8);
Tailwind
colors: {
  custom: {
    50: '#614a6e',
    500: '#230737',
    950: '#000000',
  },
}
SCSS
$custom: #230737;
$custom-light: #614a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#230737",
  "rgb": {
    "r": 35,
    "g": 7,
    "b": 55
  },
  "hsl": {
    "h": 275,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.20994,
    "c": 0.08865,
    "h": 306.8
  },
  "luminance": 0.00785
}

Semantic roles & 50–950 ramp

primary
#230737
secondary
#467723
accent
#F43484
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #230737

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

Preview Lab → · Contrast checker → · Palette generator →

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