#230F3F#230F3F

#230F3F is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 22.9% C 0.087 H 298.4°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#230F3F
RGBrgb(35, 15, 63)
HSLhsl(265, 62%, 15%)
HSVhsv(265, 76%, 25%)
CMYKcmyk(44.4%, 76.2%, 0%, 75.3%)
CIE-LABlab(9.46, 22.54, -26.81)
CIE-LCHlch(9.46, 35.03, 310.06°)
OKLaboklab(22.94% 0.0413 -0.0764)
OKLCHoklch(22.94% 0.087 298.4)
XYZxyz(1.7609, 1.0578, 4.8131)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F3F #2B3F0F
analogous
#0F133F #230F3F #3B0F3F
triadic
#230F3F #3F230F #0F3F23
tetradic
#230F3F #3F0F13 #2B3F0F #0F3F3B
square
#230F3F #3F0F13 #2B3F0F #0F3F3B
split-complementary
#230F3F #3F3B0F #133F0F
monochromatic
#0E0619 #0E0619 #230F3F #3E1B70 #5A27A2

Accessibility & contrast

On white

17.33
#230F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#230F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F3F
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F3F#FFFFFF#000000##FFFFFF
##230F3F1.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A40
Deuteranopia (green-blind)
#001A3E
Tritanopia (blue-blind)
#1C1A25
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #230f3f;
/* rgb */ color: rgb(35, 15, 63);
/* oklch */ color: oklch(22.9% 0.087 298.4);
Tailwind
colors: {
  custom: {
    50: '#614f74',
    500: '#230f3f',
    950: '#000000',
  },
}
SCSS
$custom: #230f3f;
$custom-light: #614f74;
$custom-dark: #000000;
JSON
{
  "hex": "#230f3f",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 63
  },
  "hsl": {
    "h": 265,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22938,
    "c": 0.08689,
    "h": 298.4
  },
  "luminance": 0.01058
}

Semantic roles & 50–950 ramp

primary
#230F3F
secondary
#5B7930
accent
#E543A1
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #230F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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