#230F36#230F36

#230F36 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.1% C 0.074 H 304.7°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#230F36
RGBrgb(35, 15, 54)
HSLhsl(271, 57%, 14%)
HSVhsv(271, 72%, 21%)
CMYKcmyk(35.2%, 72.2%, 0%, 78.8%)
CIE-LABlab(8.70, 19.78, -21.58)
CIE-LCHlch(8.70, 29.27, 312.51°)
OKLaboklab(22.14% 0.0422 -0.0611)
OKLCHoklch(22.14% 0.074 304.7)
XYZxyz(1.5297, 0.9653, 3.5951)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F36 #22360F
analogous
#0F0F36 #230F36 #360F35
triadic
#230F36 #36230F #0F3623
tetradic
#230F36 #360F0F #22360F #0F3536
square
#230F36 #360F0F #22360F #0F3536
split-complementary
#230F36 #35360F #0F360F
monochromatic
#100718 #100718 #230F36 #421C66 #612A96

Accessibility & contrast

On white

17.60
#230F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#230F36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F36
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F36#FFFFFF#000000##FFFFFF
##230F361.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001837
Deuteranopia (green-blind)
#061935
Tritanopia (blue-blind)
#201720
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #230f36;
/* rgb */ color: rgb(35, 15, 54);
/* oklch */ color: oklch(22.1% 0.074 304.7);
Tailwind
colors: {
  custom: {
    50: '#604e6d',
    500: '#230f36',
    950: '#000000',
  },
}
SCSS
$custom: #230f36;
$custom-light: #604e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#230f36",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 54
  },
  "hsl": {
    "h": 270.769,
    "s": 56.522,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22143,
    "c": 0.07424,
    "h": 304.7
  },
  "luminance": 0.00965
}

Semantic roles & 50–950 ramp

primary
#230F36
secondary
#507031
accent
#E04892
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #230F36

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

Preview Lab → · Contrast checker → · Palette generator →

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