#230F5F#230F5F

#230F5F is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.3% C 0.129 H 284.6°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#230F5F
RGBrgb(35, 15, 95)
HSLhsl(255, 73%, 22%)
HSVhsv(255, 84%, 37%)
CMYKcmyk(63.2%, 84.2%, 0%, 62.7%)
CIE-LABlab(12.77, 32.76, -43.45)
CIE-LCHlch(12.77, 54.42, 307.02°)
OKLaboklab(26.28% 0.0326 -0.1252)
OKLCHoklch(26.28% 0.129 284.6)
XYZxyz(2.9289, 1.5250, 10.9643)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F5F #4B5F0F
analogous
#0F235F #230F5F #4B0F5F
triadic
#230F5F #5F230F #0F5F23
tetradic
#230F5F #5F0F23 #4B5F0F #0F5F4B
square
#230F5F #5F0F23 #4B5F0F #0F5F4B
split-complementary
#230F5F #5F4B0F #235F0F
monochromatic
#0A041A #10072A #230F5F #361794 #4A20C9

Accessibility & contrast

On white

16.09
#230F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#230F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F5F
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F5F#FFFFFF#000000##FFFFFF
##230F5F1.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002361
Deuteranopia (green-blind)
#001F5E
Tritanopia (blue-blind)
#012737
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #230f5f;
/* rgb */ color: rgb(35, 15, 95);
/* oklch */ color: oklch(26.3% 0.129 284.6);
Tailwind
colors: {
  custom: {
    50: '#67508d',
    500: '#230f5f',
    950: '#000000',
  },
}
SCSS
$custom: #230f5f;
$custom-light: #67508d;
$custom-dark: #000000;
JSON
{
  "hex": "#230f5f",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 95
  },
  "hsl": {
    "h": 255,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26277,
    "c": 0.1294,
    "h": 284.6
  },
  "luminance": 0.01525
}

Semantic roles & 50–950 ramp

primary
#230F5F
secondary
#7F9832
accent
#EF38C2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #230F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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