#230F37#230F37

#230F37 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.2% C 0.076 H 303.9°. Best body text is #FFFFFF at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#230F37
RGBrgb(35, 15, 55)
HSLhsl(270, 57%, 14%)
HSVhsv(270, 73%, 22%)
CMYKcmyk(36.4%, 72.7%, 0%, 78.4%)
CIE-LABlab(8.78, 20.08, -22.17)
CIE-LCHlch(8.78, 29.91, 312.16°)
OKLaboklab(22.23% 0.0422 -0.0628)
OKLCHoklch(22.23% 0.076 303.9)
XYZxyz(1.5534, 0.9748, 3.7200)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F37 #23370F
analogous
#0F0F37 #230F37 #370F37
triadic
#230F37 #37230F #0F3723
tetradic
#230F37 #370F0F #23370F #0F3737
square
#230F37 #370F0F #23370F #0F3737
split-complementary
#230F37 #37370F #0F370F
monochromatic
#0F0718 #0F0718 #230F37 #421C67 #602997

Accessibility & contrast

On white

17.57
#230F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#230F37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F37
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F37#FFFFFF#000000##FFFFFF
##230F371.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001938
Deuteranopia (green-blind)
#051936
Tritanopia (blue-blind)
#1F1721
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #230f37;
/* rgb */ color: rgb(35, 15, 55);
/* oklch */ color: oklch(22.2% 0.076 303.9);
Tailwind
colors: {
  custom: {
    50: '#604e6e',
    500: '#230f37',
    950: '#000000',
  },
}
SCSS
$custom: #230f37;
$custom-light: #604e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#230f37",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 55
  },
  "hsl": {
    "h": 270,
    "s": 57.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22227,
    "c": 0.07565,
    "h": 303.9
  },
  "luminance": 0.00975
}

Semantic roles & 50–950 ramp

primary
#230F37
secondary
#517131
accent
#E04794
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #230F37

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

Preview Lab → · Contrast checker → · Palette generator →

#230F37 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva